Skip to content

Commit

Permalink
Make SubscribingHandlerInterface::getSubscribingMethods() return iter…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
simPod committed Jul 4, 2020
1 parent c3fbc76 commit 5721d33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Handler/SubscribingHandlerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ interface SubscribingHandlerInterface
*
* The direction and method keys can be omitted.
*
* @return array
*
* @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint
* @return iterable<string, int|string>
*/
public static function getSubscribingMethods();
public static function getSubscribingMethods() : iterable;
}

0 comments on commit 5721d33

Please sign in to comment.