Skip to content

Commit 1d92320

Browse files
committed
Merge branch 'master' of https://github.com/ahmedusama250/laravel-translatable into ft-extend-cascade-unittests
# Conflicts: # src/Translatable/Translatable.php
2 parents c59a97d + d8fb59a commit 1d92320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Translatable/Translatable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function bootTranslatable(): void
3535
return $model->saveTranslations();
3636
});
3737

38-
static::deleted(function (Model $model) {
38+
static::deleting(function (Model $model) {
3939
/* @var Translatable $model */
4040
if (self::$deleteTranslationsCascade === true) {
4141
return $model->deleteTranslations();

0 commit comments

Comments
 (0)