Skip to content

Commit 7b814df

Browse files
authored
Fix: remove incompatible return type
1 parent 57010c0 commit 7b814df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ protected function getAttributeFromArray($key)
187187
/**
188188
* @inheritdoc
189189
*/
190-
public function setAttribute($key, $value): static
190+
public function setAttribute($key, $value)
191191
{
192192
// Convert _id to ObjectID.
193193
if ($key == '_id' && is_string($value)) {

0 commit comments

Comments
 (0)