Skip to content

Commit 819ec06

Browse files
committed
Fix lint errors
1 parent 4fe0613 commit 819ec06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Task.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Task extends StatamicModel
1818
public function comments(): EntryCollection
1919
{
2020
if (is_null($this->id())) {
21-
return new EntryCollection();
21+
return new EntryCollection;
2222
}
2323

2424
$comments = Entry::query()->where('collection', 'comments')->where('task', 'entry::' . $this->id())->get();

0 commit comments

Comments
 (0)