Completed
Push — master ( a3cbc1...215832 )
by Iman
01:24
created
src/SpyClasses/SpyDispatcher.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
         $this->validateCallback($event[0], $listener);
14 14
     }
15 15
 
16
+    /**
17
+     * @param string $string
18
+     */
16 19
     private function error($string)
17 20
     {
18 21
 //        app(ErrorPrinter::class)->print($string);
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
         }
49 52
     }
50 53
 
54
+    /**
55
+     * @return string
56
+     */
51 57
     private function stringify($event)
52 58
     {
53 59
         return is_object($event) ? get_class($event) : $event;
@@ -69,6 +75,9 @@  discard block
 block discarded – undo
69 75
         return 'The method of '.$at.' is not callable as an event listener for "'.$e.'" event';
70 76
     }
71 77
 
78
+    /**
79
+     * @return string
80
+     */
72 81
     protected function getTypeHintedClass($listenerObj, $methodName)
73 82
     {
74 83
         $ref = new \ReflectionParameter([$listenerObj, $methodName], 0);
Please login to merge, or discard this patch.