pull/5344/head
Daniel Supernault 10 months ago
parent bdc395dc8e
commit cf38a508ca
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -307,7 +307,8 @@ class Helpers
$isMoreThanTenYearsOld = $date->lt($tenYearsAgo);
$tomorrow = $now->copy()->addDay();
$isMoreThanOneDayFuture = $date->gt($tomorrow);
return !($isMoreThanTenYearsOld || $isMoreThanOneDayFuture);
return ! ($isMoreThanTenYearsOld || $isMoreThanOneDayFuture);
} catch (\Exception $e) {
return false;
}
@ -344,7 +345,7 @@ class Helpers
return;
}
if(!self::validateTimestamp($res['published'])) {
if (! self::validateTimestamp($res['published'])) {
return;
}

Loading…
Cancel
Save