We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051ef24 commit e244b09Copy full SHA for e244b09
src/Runner/Shorthand.php
@@ -93,7 +93,7 @@ class Shorthand
93
*/
94
public static function isShorthand(string $shorthand): bool
95
{
96
- return preg_match('#^captainhook\.[a-z]+\.[a-z]+$#i', $shorthand);
+ return (bool) preg_match('#^captainhook\.[a-z]+\.[a-z]+$#i', $shorthand);
97
}
98
99
/**
0 commit comments