@@ -138,6 +138,7 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | /** |
| 140 | 140 | * {@inheritDoc} |
| 141 | + * @param TypeContext $context |
|
| 141 | 142 | */ |
| 142 | 143 | public function create(string $tagLine, ?TypeContext $context = null) : Tag |
| 143 | 144 | { |
@@ -258,7 +259,7 @@ discard block |
||
| 258 | 259 | * @param ReflectionParameter[] $parameters |
| 259 | 260 | * @param mixed[] $locator |
| 260 | 261 | * |
| 261 | - * @return mixed[] A series of values that can be passed to the Factory Method of the tag whose parameters |
|
| 262 | + * @return callable A series of values that can be passed to the Factory Method of the tag whose parameters |
|
| 262 | 263 | * is provided with this method. |
| 263 | 264 | */ |
| 264 | 265 | private function getArgumentsForParametersFromWiring(array $parameters, array $locator) : array |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | $traceProperty->setAccessible(true); |
| 86 | 86 | |
| 87 | 87 | $flatten = |
| 88 | - /** @param mixed $value */ |
|
| 88 | + /** @param Throwable $value */ |
|
| 89 | 89 | static function (&$value) : void { |
| 90 | 90 | if ($value instanceof Closure) { |
| 91 | 91 | $closureReflection = new ReflectionFunction($value); |