Skip to content

Commit

Permalink
Reverted types addition on extended method
Browse files Browse the repository at this point in the history
  • Loading branch information
toonvandenbos committed Jul 26, 2024
1 parent bed4b8a commit 6aaa541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasTimezonedTimestamps.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) &&
Expand Down

0 comments on commit 6aaa541

Please sign in to comment.