Revert "rector: arrrrr"

This reverts commit 16c0cd10d8.
This commit is contained in:
Andras Bacsai committed 2025-01-07 15:31:43 +01:00
1 parent da07b4fdcf
commit 1fe4dd722b
349 files changed
+3689 -4184

No files matched your search

+2 -3
View File
@@ -5,7 +5,6 @@ namespace App\Livewire\Project;
use App\Models\Project;
use Livewire\Attributes\Validate;
use Livewire\Component;
use Throwable;
use Visus\Cuid2\Cuid2;
class AddEmpty extends Component
@@ -20,7 +19,7 @@ class AddEmpty extends Component
{
try {
$this->validate();
$project = Project::query()->create([
$project = Project::create([
'name' => $this->name,
'description' => $this->description,
'team_id' => currentTeam()->id,
@@ -28,7 +27,7 @@ class AddEmpty extends Component
]);
return redirect()->route('project.show', $project->uuid);
} catch (Throwable $e) {
} catch (\Throwable $e) {
return handleError($e, $this);
}
}