testing php storm code cleanup and styling

This commit is contained in:
Andras Bacsai
2023-08-08 11:51:36 +02:00
parent a8ee779b31
commit f2228cec7b
368 changed files with 23834 additions and 2623 deletions

View File

@@ -5,12 +5,12 @@ namespace App\Http\Livewire\Server\Proxy;
use App\Actions\Proxy\StartProxy;
use App\Models\Server;
use Livewire\Component;
use Str;
class Deploy extends Component
{
public Server $server;
public $proxy_settings = null;
public function start_proxy()
{
if (
@@ -22,6 +22,7 @@ class Deploy extends Component
$activity = resolve(StartProxy::class)($this->server);
$this->emit('newMonitorActivity', $activity->id);
}
public function stop()
{
instant_remote_process([
@@ -31,4 +32,4 @@ class Deploy extends Component
$this->server->save();
$this->emit('proxyStatusUpdated');
}
}
}

View File

@@ -9,6 +9,7 @@ use Livewire\Component;
class Status extends Component
{
public Server $server;
public function get_status()
{
dispatch_sync(new ProxyContainerStatusJob(
@@ -17,4 +18,4 @@ class Status extends Component
$this->server->refresh();
$this->emit('proxyStatusUpdated');
}
}
}