minor #23881 [DependencyInjection] Fixed some param/return annotations in PHPDOC blocks (derrabus)

This PR was merged into the 3.3 branch.

Discussion
----------

[DependencyInjection] Fixed some param/return annotations in PHPDOC blocks

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

Commits
-------

423656f Fixed some param/return annotations in PHPDOC blocks.
This commit is contained in:
Nicolas Grekas 2017-08-14 12:33:09 +02:00
commit ef038ac48c
2 changed files with 5 additions and 1 deletions

View File

@ -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
*

View File

@ -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)
{