We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6f48d commit 1404cf7Copy full SHA for 1404cf7
src/Traits/HasAttributes.php
@@ -49,7 +49,7 @@ public function getIncrementing()
49
50
public function getDates()
51
{
52
- return $this->dates;
+ return $this->dates ?? [];
53
}
54
55
/**
0 commit comments