[DependencyInjection] Fix doc blocks
Signed-off-by: Alexander M. Turek <me@derrabus.de>
This commit is contained in:
parent
713f73facc
commit
950b2e780c
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user