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 8db2554 commit 40d34b1Copy full SHA for 40d34b1
1 file changed
src/Data/TracksLastModified.php
@@ -9,14 +9,14 @@ trait TracksLastModified
9
{
10
public function lastModified()
11
12
- return $this->has('updated_at')
+ return $this->get('updated_at')
13
? Carbon::createFromTimestamp($this->get('updated_at'), config('app.timezone'))
14
: $this->fileLastModified();
15
}
16
17
public function lastModifiedBy()
18
19
- return $this->has('updated_by')
+ return $this->get('updated_by')
20
? User::find($this->get('updated_by'))
21
: null;
22
0 commit comments