Skip to content

Commit

Permalink
馃悰 FIX: Code snifer check passes
Browse files Browse the repository at this point in the history
  • Loading branch information
elie29 committed Feb 20, 2019
1 parent 89b9883 commit f1fab1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rule/TimeRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public static function checkTime($time): bool
. str_pad($second, 2, '0', STR_PAD_RIGHT);

// we test hh:mm:ss from 00:00:00 => 23:59:59
return !! preg_match(self::TIME_REGEX, $time);
return (bool) preg_match(self::TIME_REGEX, $time);
}
}

0 comments on commit f1fab1e

Please sign in to comment.