Skip to content

Commit 0533115

Browse files
author
Admin
committed
Update return type form self to static
1 parent da3886e commit 0533115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function getPrimaryKeyIdentifierAttribute(): string
112112
));
113113
}
114114

115-
public function appendIndexRequiredOnFilteringAttribute(bool $appendIndex = true): self
115+
public function appendIndexRequiredOnFilteringAttribute(bool $appendIndex = true): static
116116
{
117117
return $appendIndex && $this->indexRequiredOnFiltering ? $this->append(['index_required_on_filtering']) : $this;
118118
}

0 commit comments

Comments
 (0)