8000 Fixed some param/return annotations in PHPDOC blocks. · symfony/symfony@423656f · GitHub
[go: up one dir, main page]

Skip to content

Commit 423656f

Browse files
committed
Fixed some param/return annotations in PHPDOC blocks.
1 parent eea78fd commit 423656f

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