@@ -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 | */ |
@@ -163,14 +162,23 @@ discard block |
||
163 | 162 | }; |
164 | 163 | } |
165 | 164 | |
165 | + /** |
|
166 | + * @param string $methodName |
|
167 | + */ |
|
166 | 168 | private static function getPreCallEventName($methodName) { |
167 | 169 | return 'calling: '.static::class.'@'.$methodName; |
168 | 170 | } |
169 | 171 | |
172 | + /** |
|
173 | + * @param string $methodName |
|
174 | + */ |
|
170 | 175 | private static function getPostCallEventName($methodName) { |
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 | $params = (new ReflectionMethod($instance, $method))->getParameters(); |
176 | 184 | self::addMissingDependencies($params, $args); |