diff --git a/src/Fields/File.php b/src/Fields/File.php index e27184e8..416dde4d 100644 --- a/src/Fields/File.php +++ b/src/Fields/File.php @@ -205,7 +205,7 @@ public function persist(Request $request, Model $model, mixed $value): void /** * Prune the related models. */ - protected function prune(Request $request, Model $model, array $keys): int + public function prune(Request $request, Model $model, array $keys): int { $count = 0; diff --git a/tests/phpstan/MetaDataModel.php b/tests/phpstan/MetaDataModel.php index 4c39b50a..19a23c02 100644 --- a/tests/phpstan/MetaDataModel.php +++ b/tests/phpstan/MetaDataModel.php @@ -8,9 +8,4 @@ class MetaDataModel extends Model { use HasMetaData; - - /** - * The Blade template. - */ - protected string $template = 'meta.field'; }