code-style

This commit is contained in:
Saeed Vaziry
2025-03-13 20:53:14 +01:00
parent 0f06d81aac
commit 48ae561ea4
43 changed files with 122 additions and 76 deletions

View File

@ -3,6 +3,7 @@
namespace App\Web\Pages\Settings\Projects\Widgets;
use App\Models\Project;
use App\Models\User;
use Filament\Widgets\Widget;
use Illuminate\Support\Collection;
@ -21,7 +22,7 @@ class SelectProject extends Widget
public function mount(): void
{
/** @var \App\Models\User $user */
/** @var User $user */
$user = auth()->user();
$this->currentProject = $user->currentProject;
@ -30,7 +31,7 @@ public function mount(): void
public function updateProject(Project $project): void
{
/** @var \App\Models\User $user */
/** @var User $user */
$user = auth()->user();
$this->authorize('view', $project);