@@ -54,7 +54,6 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Changes the default driver of the facade. |
| 56 | 56 | * |
| 57 | - * @param \Closure|string $name |
|
| 58 | 57 | * |
| 59 | 58 | * @return string |
| 60 | 59 | */ |
@@ -153,16 +152,25 @@ discard block |
||
| 153 | 152 | }; |
| 154 | 153 | } |
| 155 | 154 | |
| 155 | + /** |
|
| 156 | + * @param string $methodName |
|
| 157 | + */ |
|
| 156 | 158 | private static function getPreCallEventName($methodName) |
| 157 | 159 | { |
| 158 | 160 | return 'calling: '.static::class.'@'.$methodName; |
| 159 | 161 | } |
| 160 | 162 | |
| 163 | + /** |
|
| 164 | + * @param string $methodName |
|
| 165 | + */ |
|
| 161 | 166 | private static function getPostCallEventName($methodName) |
| 162 | 167 | { |
| 163 | 168 | return 'called: '.static::class.'@'.$methodName; |
| 164 | 169 | } |
| 165 | 170 | |
| 171 | + /** |
|
| 172 | + * @param string $method |
|
| 173 | + */ |
|
| 166 | 174 | private static function resolveMissingDependencies($instance, $method, &$args) |
| 167 | 175 | { |
| 168 | 176 | $params = (new ReflectionMethod($instance, $method))->getParameters(); |