8000 minor #23881 [DependencyInjection] Fixed some param/return annotation… · symfony/symfony@ef038ac · GitHub
[go: up one dir, main page]

Skip to content

Commit ef038ac

Browse files
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.
2 parents eea78fd + 423656f commit ef038ac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Symfony/Component/DependencyInjection/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ public static function underscore($id)
427427
/**
428428
* Fetches a variable from the environment.
429429
*
430-
* @param string The name of the environment variable
430+
* @param string $name The name of the environment variable
431431
*
432432
* @return scalar The value to use for the provided environment variable name
433433
*

src/Symfony/Component/DependencyInjection/Definition.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ public function getChanges()
7171
/**
7272
* Sets the tracked changes for the Definition object.
7373
*
74+
* @param array $changes An array of changes for this Definition
75+
*
7476
* @return $this
7577
*/
7678
public function setChanges(array $changes)
@@ -401,6 +403,8 @@ public function getMethodCalls()
401403
* Sets the definition templates to conditionally apply on the current definition, keyed by parent interface/class.
402404
*
403405
* @param $instanceof ChildDefinition[]
406+
*
407+
* @return $this
404408
*/
405409
public function setInstanceofConditionals(array $instanceof)
406410
{

0 commit comments

Comments
 (0)
0