Skip to content

Commit

Permalink
minor #32281 [DependencyInjection] Annotated correct return type for …
Browse files Browse the repository at this point in the history
…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 #32266.

Commits
-------

28882f5 Annotated correct return type for getInEdges()/getOutEdges().
  • Loading branch information
fabpot committed Jul 3, 2019
2 parents b5cd483 + 28882f5 commit 927a334
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -81,7 +81,7 @@ public function getId()
/**
* Returns the in edges.
*
* @return array The in ServiceReferenceGraphEdge array
* @return ServiceReferenceGraphEdge[]
*/
public function getInEdges()
{
Expand All @@ -91,7 +91,7 @@ public function getInEdges()
/**
* Returns the out edges.
*
* @return array The out ServiceReferenceGraphEdge array
* @return ServiceReferenceGraphEdge[]
*/
public function getOutEdges()
{
Expand Down

0 comments on commit 927a334

Please sign in to comment.