diff --git a/src/Concerns/HasTimezonedTimestamps.php b/src/Concerns/HasTimezonedTimestamps.php index e87c53c..2be02f0 100644 --- a/src/Concerns/HasTimezonedTimestamps.php +++ b/src/Concerns/HasTimezonedTimestamps.php @@ -10,7 +10,7 @@ trait HasTimezonedTimestamps /** * Determine if the given attribute is a date or date castable. */ - protected function isDateAttribute(string $key): bool + protected function isDateAttribute($key) { return (in_array($key, $this->getDates(), true) || $this->isDateCastable($key)) &&