Page MenuHomeDevCentral

D208.diff
No OneTemporary

D208.diff

diff --git a/app/Listeners/AMQPEventListener.php b/app/Listeners/AMQPEventListener.php
--- a/app/Listeners/AMQPEventListener.php
+++ b/app/Listeners/AMQPEventListener.php
@@ -129,7 +129,7 @@
*
* @param Illuminate\Events\Dispatcher $events
*/
- public function subscribe ($events) {
+ public function subscribe (\Illuminate\Events\Dispatcher $events) {
$class = 'Nasqueron\Notifications\Listeners\AMQPEventListener';
$events->listen(
'Nasqueron\Notifications\Events\GitHubPayloadEvent',
diff --git a/app/Listeners/LastPayloadSaver.php b/app/Listeners/LastPayloadSaver.php
--- a/app/Listeners/LastPayloadSaver.php
+++ b/app/Listeners/LastPayloadSaver.php
@@ -36,7 +36,7 @@
*
* @param Illuminate\Events\Dispatcher $events
*/
- public function subscribe ($events) {
+ public function subscribe (\Illuminate\Events\Dispatcher $events) {
$ns = 'Nasqueron\Notifications\Events';
$class = 'Nasqueron\Notifications\Listeners\LastPayloadSaver';
$eventsToListen = [
diff --git a/app/Listeners/NotificationListener.php b/app/Listeners/NotificationListener.php
--- a/app/Listeners/NotificationListener.php
+++ b/app/Listeners/NotificationListener.php
@@ -57,7 +57,7 @@
*
* @param Illuminate\Events\Dispatcher $events
*/
- public function subscribe ($events) {
+ public function subscribe (\Illuminate\Events\Dispatcher $events) {
$class = 'Nasqueron\Notifications\Listeners\NotificationListener';
$events->listen(
'Nasqueron\Notifications\Events\DockerHubPayloadEvent',
diff --git a/app/Listeners/PhabricatorListener.php b/app/Listeners/PhabricatorListener.php
--- a/app/Listeners/PhabricatorListener.php
+++ b/app/Listeners/PhabricatorListener.php
@@ -84,7 +84,7 @@
*
* @param Illuminate\Events\Dispatcher $events
*/
- public function subscribe ($events) {
+ public function subscribe (\Illuminate\Events\Dispatcher $events) {
$class = 'Nasqueron\Notifications\Listeners\PhabricatorListener';
$events->listen(
'Nasqueron\Notifications\Events\GitHubPayloadEvent',

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 17:49 (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269557
Default Alt Text
D208.diff (2 KB)

Event Timeline