Skip to content

Commit eff3f8b

Browse files
committed
Fix: fix destroying event callback function
1 parent 6811486 commit eff3f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public function destroy(...$args)
274274
}
275275

276276
if(method_exists($this, 'destroying')) {
277-
$object = call_user_func([$this, 'destroyed'], $object);
277+
$object = call_user_func([$this, 'destroying'], $object);
278278
}
279279

280280
$object->delete();

0 commit comments

Comments
 (0)