Skip to content

Commit

Permalink
Merge branch '2.4' into mysql_unix_socket_support
Browse files Browse the repository at this point in the history
  • Loading branch information
duck-rh committed Apr 24, 2017
2 parents 8e8ff7a + a2026b7 commit 565f5fc
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public function handle(IncidentUpdateWasReportedEvent $event)
->get()
->reject(function ($subscriber) use ($notified) {
return in_array($subscriber->id, $notified);
})->each(function ($subscriber) use ($incident) {
$subscriber->notify(new IncidentUpdatedNotification($incident));
})->each(function ($subscriber) use ($update) {
$subscriber->notify(new IncidentUpdatedNotification($update));
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class IncidentUpdatedNotification extends Notification
/**
* The incident update.
*
* @var \CachetHQ\Cachet\Models\Incident
* @var \CachetHQ\Cachet\Models\IncidentUpdate
*/
protected $update;

Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
"symfony/dom-crawler": "^3.1",
"tightenco/mailthief": "^0.3.2"
},
"suggest": {
"ext-apc": "APC Support cache driver."
},
"autoload": {
"classmap": [
"database"
Expand Down
Loading

0 comments on commit 565f5fc

Please sign in to comment.