Skip to content

Commit 927a334

Browse files
committed
minor symfony#32281 [DependencyInjection] Annotated correct return type for getInEdges()/getOutEdges() (derrabus)
This PR was merged into the 3.4 branch. Discussion ---------- [DependencyInjection] Annotated correct return type for getInEdges()/getOutEdges() | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A This changed annotation was quite helpful when analyzing `PhpDumper` for symfony#32266. Commits ------- 28882f5 Annotated correct return type for getInEdges()/getOutEdges().
2 parents b5cd483 + 28882f5 commit 927a334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getId()
8181
/**
8282
* Returns the in edges.
8383
*
84-
* @return array The in ServiceReferenceGraphEdge array
84+
* @return ServiceReferenceGraphEdge[]
8585
*/
8686
public function getInEdges()
8787
{
@@ -91,7 +91,7 @@ public function getInEdges()
9191
/**
9292
* Returns the out edges.
9393
*
94-
* @return array The out ServiceReferenceGraphEdge array
94+
* @return ServiceReferenceGraphEdge[]
9595
*/
9696
public function getOutEdges()
9797
{

0 commit comments

Comments
 (0)