diff --git a/src/Actions/Action.php b/src/Actions/Action.php index 2ec3e3af..53b660ea 100644 --- a/src/Actions/Action.php +++ b/src/Actions/Action.php @@ -213,6 +213,7 @@ public function handleFormRequest(Request $request, Model $model): void if (in_array(HasRootEvents::class, class_uses_recursive($model))) { $models->each(static function (Model $model) use ($request): void { + /** @phpstan-assert \Cone\Root\Traits\HasRootEvents $model */ $model->recordRootEvent( Str::of(static::class)->classBasename()->headline()->value(), $request->user()