Skip to content

Commit 6658761

Browse files
authored
Merge pull request #1232 from simonschaufi/patch-1
Fix: Missing return statement
2 parents 3f86eb8 + 321eb0b commit 6658761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenssegers/Mongodb/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function setAttribute($key, $value)
175175
return;
176176
}
177177

178-
parent::setAttribute($key, $value);
178+
return parent::setAttribute($key, $value);
179179
}
180180

181181
/**

0 commit comments

Comments
 (0)