Test Setup Failed
Branch master (ce6932)
by Gabriel
13:33
created
src/Events/EventFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      *
14 14
      * @param string $name
15 15
      *
16
-     * @return EventInterface
16
+     * @return EventFactory
17 17
      */
18 18
     public static function named($name)
19 19
     {
Please login to merge, or discard this patch.
src/Events/Traits/HasNameTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @param null $name
24
+     * @param string $name
25 25
      */
26 26
     public function setName($name)
27 27
     {
Please login to merge, or discard this patch.
src/ListenerProviders/Discover/DiscoverEvents.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param array $paths
32
-     * @return array|\Roave\BetterReflection\Reflection\ReflectionClass[]
32
+     * @return \Roave\BetterReflection\Reflection\ReflectionClass[]
33 33
      */
34 34
     protected static function getListenerClasses($paths)
35 35
     {
Please login to merge, or discard this patch.
src/ListenerProviders/Traits/ListenForInterfacesTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     /**
8 8
      * @param object $event
9
-     * @return iterable
9
+     * @return \Generator
10 10
      */
11 11
     public function getListenersForEventInterfaces(object $event): iterable
12 12
     {
Please login to merge, or discard this patch.
src/ListenerProviders/Traits/MakeListenerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $listener
53
+     * @param Closure $listener
54 54
      * @return Closure
55 55
      */
56 56
     protected function createObjectListener($listener)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Create the class based event callable.
65 65
      *
66
-     * @param string|array $listener
66
+     * @param string $listener
67 67
      * @return callable
68 68
      */
69 69
     protected function createClassCallable($listener)
Please login to merge, or discard this patch.
src/Queue/Listeners/CallQueuedListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     /**
30
-     * @param mixed $listener
30
+     * @param string[] $listener
31 31
      */
32 32
     public function setListener($listener): void
33 33
     {
Please login to merge, or discard this patch.
tests/src/Dispatcher/Traits/EmittingTraitTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-     * @param $listenerProvider
84
+     * @param ListenerProviderInterface $listenerProvider
85 85
      * @return EventDispatcher
86 86
      */
87 87
     protected function createEventDispatcher($listenerProvider)
Please login to merge, or discard this patch.