[No Squash] Fix Linting (#2527)

This commit is contained in:
Yaman Qalieh 2022-03-24 18:24:55 -04:00 committed by GitHub
parent cb4bc57c72
commit 76ade41543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -81,7 +81,7 @@ URI;
// Try to parse the date
$dateTime = DateTime::createFromFormat('d.m.Y', $date);
if ($dateTime !== FALSE)
if ($dateTime !== false)
$item['timestamp'] = $dateTime->getTimestamp();
return $item;