@@ -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 |
@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | * These parameters are injected at the last moment and will override any existing parameter with those names. |
39 | 39 | * |
40 | 40 | * @param mixed $value |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function addParameter(string $name, $value) : void; |
43 | 44 | |
@@ -60,6 +61,7 @@ discard block |
||
60 | 61 | * |
61 | 62 | * Because interfaces are regularly used as type-hints this method provides an alias parameter; if the FQCN of the |
62 | 63 | * interface is passed as alias then every time that interface is requested the provided service will be returned. |
64 | + * @return void |
|
63 | 65 | */ |
64 | 66 | public function addService(object $service) : void; |
65 | 67 | |
@@ -80,6 +82,7 @@ discard block |
||
80 | 82 | * @throws InvalidArgumentException If the handler is not a string. |
81 | 83 | * @throws InvalidArgumentException If the handler is not an existing class. |
82 | 84 | * @throws InvalidArgumentException If the handler does not implement the {@see Tag} interface. |
85 | + * @return void |
|
83 | 86 | */ |
84 | 87 | public function registerTagHandler(string $tagName, string $handler) : void; |
85 | 88 | } |