From 35995568482736060fc9cb3ef57727e5201c089d Mon Sep 17 00:00:00 2001 From: Vladimir Date: Sun, 25 Aug 2024 16:20:33 +0200 Subject: [PATCH] fixing phpstan now --- app/Models/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Task.php b/app/Models/Task.php index e9d91e6..92c9534 100644 --- a/app/Models/Task.php +++ b/app/Models/Task.php @@ -34,7 +34,7 @@ public function author(): BelongsTo return $this->belongsTo(User::class, 'created_by_id'); } - public function assignedTo(): BelongsTo|User + public function assignedTo(): BelongsTo { return $this->belongsTo(User::class, 'assigned_to_id'); }