Skip to content

Commit 7804b76

Browse files
bomshteynactions-user
authored andcommitted
Fix styling
1 parent 55dabf8 commit 7804b76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Traits/WithFilters.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ public function cleanFilters(): void
155155
// did not do "month shifting"
156156
// (e.g. consider that January 32 is February 1)
157157
$dt = DateTime::createFromFormat("Y-m-d", $filterValue);
158-
return $dt !== false && !array_sum($dt::getLastErrors());
158+
159+
return $dt !== false && ! array_sum($dt::getLastErrors());
159160
}
160161

161162
return false;

0 commit comments

Comments
 (0)