Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/iterable-method-types' of https://github.com/in…
Browse files Browse the repository at this point in the history
…ternalsystemerror/zend-permissions-rbac into internalsystemerror-feature/iterable-method-types
  • Loading branch information
ezimuel committed Aug 20, 2018
2 parents b54c47b + 3f2270a commit 8cb3eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RoleInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function addChild(RoleInterface $child) : void;
*
* @return RoleInterface[]
*/
public function getChildren() : array;
public function getChildren() : iterable;

/**
* Add a parent.
Expand All @@ -48,5 +48,5 @@ public function addParent(RoleInterface $parent) : void;
*
* @return RoleInterface[]
*/
public function getParents() : array;
public function getParents() : iterable;
}

0 comments on commit 8cb3eae

Please sign in to comment.