Skip to content

Commit

Permalink
Remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
harabisj committed Aug 14, 2023
1 parent 5a943fb commit 0c0eb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lemon/Validation/Rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function passedYear(string $target): bool
{
return $this->year($target) && intval($target) < date('Y');
}

public function boolean(string $target): bool
{
return $target !== '' && filter_var($target, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== null;
Expand Down

0 comments on commit 0c0eb51

Please sign in to comment.