[DependencyInjection] Fix doc blocks

Signed-off-by: Alexander M. Turek <me@derrabus.de>
This commit is contained in:
Alexander M. Turek 2021-07-01 23:39:28 +02:00
parent 713f73facc
commit 950b2e780c
2 changed files with 10 additions and 10 deletions

View File

@ -27,12 +27,12 @@ class ParameterNotFoundException extends InvalidArgumentException implements Not
private $nonNestedAlternative;
/**
* @param string $key The requested parameter key
* @param string $sourceId The service id that references the non-existent parameter
* @param string $sourceKey The parameter key that references the non-existent parameter
* @param \Throwable $previous The previous exception
* @param string[] $alternatives Some parameter name alternatives
* @param string|null $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters
* @param string $key The requested parameter key
* @param string|null $sourceId The service id that references the non-existent parameter
* @param string|null $sourceKey The parameter key that references the non-existent parameter
* @param \Throwable|null $previous The previous exception
* @param string[] $alternatives Some parameter name alternatives
* @param string|null $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters
*/
public function __construct(string $key, string $sourceId = null, string $sourceKey = null, \Throwable $previous = null, array $alternatives = [], string $nonNestedAlternative = null)
{

View File

@ -23,10 +23,10 @@ class TypedReference extends Reference
private $requiringClass;
/**
* @param string $id The service identifier
* @param string $type The PHP type of the identified service
* @param int $invalidBehavior The behavior when the service does not exist
* @param string $name The name of the argument targeting the service
* @param string $id The service identifier
* @param string $type The PHP type of the identified service
* @param int $invalidBehavior The behavior when the service does not exist
* @param string|null $name The name of the argument targeting the service
*/
public function __construct(string $id, string $type, $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name = null)
{