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

+1 -2
View File
@@ -4,7 +4,6 @@ namespace App\Livewire\Project\Shared;
use App\Helpers\SshMultiplexingHelper;
use App\Models\Server;
use InvalidArgumentException;
use Livewire\Attributes\On;
use Livewire\Component;
@@ -32,7 +31,7 @@ class Terminal extends Component
if ($isContainer) {
// Validate container identifier format (alphanumeric, dashes, and underscores only)
if (! preg_match('/^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/', $identifier)) {
throw new InvalidArgumentException('Invalid container identifier format');
throw new \InvalidArgumentException('Invalid container identifier format');
}
// Verify container exists and belongs to the user's team