From 6aaa541037a7959aadf3f0984a17d33938318f89 Mon Sep 17 00:00:00 2001 From: Toon Van den Bos Date: Fri, 26 Jul 2024 12:45:26 +0200 Subject: [PATCH] Reverted types addition on extended method --- src/Concerns/HasTimezonedTimestamps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) &&