From 423656f8eaf85ba09158f6b984b2e758170d8076 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 13 Aug 2017 23:58:09 +0200 Subject: [PATCH] Fixed some param/return annotations in PHPDOC blocks. --- src/Symfony/Component/DependencyInjection/Container.php | 2 +- src/Symfony/Component/DependencyInjection/Definition.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Container.php b/src/Symfony/Component/DependencyInjection/Container.php index 379c7f6d0e..3b0a82d80e 100644 --- a/src/Symfony/Component/DependencyInjection/Container.php +++ b/src/Symfony/Component/DependencyInjection/Container.php @@ -427,7 +427,7 @@ class Container implements ResettableContainerInterface /** * Fetches a variable from the environment. * - * @param string The name of the environment variable + * @param string $name The name of the environment variable * * @return scalar The value to use for the provided environment variable name * diff --git a/src/Symfony/Component/DependencyInjection/Definition.php b/src/Symfony/Component/DependencyInjection/Definition.php index 173578acd5..2900ddc24d 100644 --- a/src/Symfony/Component/DependencyInjection/Definition.php +++ b/src/Symfony/Component/DependencyInjection/Definition.php @@ -71,6 +71,8 @@ class Definition /** * Sets the tracked changes for the Definition object. * + * @param array $changes An array of changes for this Definition + * * @return $this */ public function setChanges(array $changes) @@ -401,6 +403,8 @@ class Definition * Sets the definition templates to conditionally apply on the current definition, keyed by parent interface/class. * * @param $instanceof ChildDefinition[] + * + * @return $this */ public function setInstanceofConditionals(array $instanceof) {