Completed
Push — master ( 6739e0...ef124a )
by Iman
01:36
created
src/SpyClasses/SpyDispatcher.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         return class_exists($eventName, false) ? $this->addOriginInterfaceListeners($eventName, $listeners) : $listeners;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $string
68
+     */
66 69
     private function error($string)
67 70
     {
68 71
         app(ErrorPrinter::class)->pended[] = $string;
@@ -97,6 +100,9 @@  discard block
 block discarded – undo
97 100
         }
98 101
     }
99 102
 
103
+    /**
104
+     * @return string
105
+     */
100 106
     private function stringify($event)
101 107
     {
102 108
         return is_object($event) ? get_class($event) : $event;
@@ -118,6 +124,9 @@  discard block
 block discarded – undo
118 124
         return 'The method of '.$at.' is not callable as an event listener for "'.$e.'" event';
119 125
     }
120 126
 
127
+    /**
128
+     * @return string
129
+     */
121 130
     protected function getTypeHintedClass($listenerObj, $methodName)
122 131
     {
123 132
         try {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Imanghafoori\LaravelMicroscope\SpyClasses;
4 4
 
5
-use Illuminate\Support\Str;
6 5
 use Illuminate\Events\Dispatcher;
6
+use Illuminate\Support\Str;
7 7
 use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
8 8
 use Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter;
9 9
 
Please login to merge, or discard this patch.