Skip to content

Commit

Permalink
Merge pull request #187 from iranianpep/scrutinizer-patch-6
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
iranianpep committed Jul 17, 2017
2 parents a08ac83 + a564e37 commit 18b0670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Botonomous/utility/MessageUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function keywordPos(array $keywords, $message)
return $found;
}

usort($keywords, function ($array1, $array2) {
usort($keywords, function($array1, $array2) {
return strlen($array2) <=> strlen($array1);
});

Expand Down

0 comments on commit 18b0670

Please sign in to comment.