File tree 4 files changed +0
-12
lines changed
4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,8 @@ public function get(string $id)
199
199
* Sets a definition to the container. Definition may be defined multiple ways.
200
200
*
201
201
* @param string $id ID to set definition for.
202
- * @param mixed $definition Definition to set.
203
202
*
204
203
* @throws InvalidConfigException
205
- *
206
204
* @see DefinitionNormalizer::normalize()
207
205
*/
208
206
private function addDefinition (string $ id , mixed $ definition ): void
@@ -288,9 +286,7 @@ private function setDelegates(array $delegates): void
288
286
}
289
287
290
288
/**
291
- * @param mixed $definition Definition to validate.
292
289
* @param string|null $id ID of the definition to validate.
293
- *
294
290
* @throws InvalidConfigException
295
291
*/
296
292
private function validateDefinition (mixed $ definition , ?string $ id = null ): void
@@ -583,10 +579,8 @@ private function addProviders(array $providers): void
583
579
/**
584
580
* Builds service provider by definition.
585
581
*
586
- * @param mixed $provider Class name or instance of provider.
587
582
*
588
583
* @throws InvalidConfigException If provider argument is not valid.
589
- *
590
584
* @return ServiceProviderInterface Instance of service provider.
591
585
*/
592
586
private function buildProvider (mixed $ provider ): ServiceProviderInterface
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ final class ExtensibleService implements DefinitionInterface
25
25
*/
26
26
private array $ extensions = [];
27
27
28
- /**
29
- * @param mixed $definition Definition to allow registering extensions for.
30
- */
31
28
public function __construct (
32
29
private mixed $ definition ,
33
30
private string $ id
Original file line number Diff line number Diff line change 18
18
final class DefinitionNormalizer
19
19
{
20
20
/**
21
- * @param mixed $definition Definition to normalize.
22
21
* @param string $id Service ID.
23
- *
24
22
* @throws InvalidConfigException If configuration is not valid.
25
23
*/
26
24
public static function normalize (mixed $ definition , string $ id ): DefinitionInterface
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ final class DefinitionParser
51
51
public const IS_PREPARED_ARRAY_DEFINITION_DATA = 'isPreparedArrayDefinitionData ' ;
52
52
53
53
/**
54
- * @param mixed $definition Definition to parse.
55
54
*
56
55
* @return array Definition parsed into array of a special structure.
57
56
* @psalm-return array{mixed,array}
You can’t perform that action at this time.
0 commit comments