@@ -58,7 +58,6 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Changes the default driver of the facade. |
60 | 60 | * |
61 | - * @param \Closure|string $name |
|
62 | 61 | * |
63 | 62 | * @return string |
64 | 63 | */ |
@@ -161,16 +160,25 @@ discard block |
||
161 | 160 | }; |
162 | 161 | } |
163 | 162 | |
163 | + /** |
|
164 | + * @param string $methodName |
|
165 | + */ |
|
164 | 166 | private static function getPreCallEventName($methodName) |
165 | 167 | { |
166 | 168 | return 'calling: '.static::class.'@'.$methodName; |
167 | 169 | } |
168 | 170 | |
171 | + /** |
|
172 | + * @param string $methodName |
|
173 | + */ |
|
169 | 174 | private static function getPostCallEventName($methodName) |
170 | 175 | { |
171 | 176 | return 'called: '.static::class.'@'.$methodName; |
172 | 177 | } |
173 | 178 | |
179 | + /** |
|
180 | + * @param string $method |
|
181 | + */ |
|
174 | 182 | private static function resolveMissingDependencies($instance, $method, &$args) |
175 | 183 | { |
176 | 184 | $params = (new ReflectionMethod($instance, $method))->getParameters(); |