Skip to content

Commit

Permalink
Add type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Feb 8, 2019
1 parent 6c23572 commit 60f9b6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpers/SpoutLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ protected function loadClasses($location, $parentclass) {
/**
* compare spouts by name
*
* @param \spouts\spout $spout1 Spout 1
* @param \spouts\spout $spout2 Spout 2
* @param spout $spout1 Spout 1
* @param spout $spout2 Spout 2
*
* @return int
*/
private static function compareSpoutsByName($spout1, $spout2) {
private static function compareSpoutsByName(spout $spout1, spout $spout2) {
return strcasecmp($spout1->name, $spout2->name);
}
}

0 comments on commit 60f9b6e

Please sign in to comment.