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.
1 parent 631e447 commit d8fb59aCopy full SHA for d8fb59a
src/Translatable/Translatable.php
@@ -35,7 +35,7 @@ public static function bootTranslatable(): void
35
return $model->saveTranslations();
36
});
37
38
- static::deleted(function (Model $model) {
+ static::deleting(function (Model $model) {
39
if (self::$deleteTranslationsCascade === true) {
40
return $model->deleteTranslations();
41
}
0 commit comments