[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

@ -28,9 +28,9 @@ class ParameterNotFoundException extends InvalidArgumentException implements Not
/**
* @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|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
*/

View File

@ -26,7 +26,7 @@ class TypedReference extends Reference
* @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|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)
{