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.
2 parents f5fb66d + 925d374 commit c854695Copy full SHA for c854695
app/locker/repository/Base/EloquentRepository.php
@@ -67,7 +67,7 @@ public function show($id, array $opts) {
67
*/
68
public function destroy($id, array $opts) {
69
$model = $this->show($id, $opts);
70
- return $this->fire($model->delete(), 'destroy', $opts, [
+ return $this->fire(is_null($model->delete()), 'destroy', $opts, [
71
'id' => $id
72
]);
73
}
0 commit comments