Skip to content

Commit f977ecc

Browse files
authored
Merge pull request #19 from this-is-raj/master
Fix destroying event call back function signature
2 parents f9d1a10 + 61c201a commit f977ecc

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)