rector: arrrrr

This commit is contained in:
Andras Bacsai
2025-01-07 14:52:08 +01:00
parent c702ebff6d
commit 16c0cd10d8
349 changed files with 4204 additions and 3712 deletions

View File

@@ -36,7 +36,7 @@ class Input extends Component
$this->name = $this->id;
}
if ($this->type === 'password') {
$this->defaultClass = $this->defaultClass.' pr-[2.8rem]';
$this->defaultClass .= ' pr-[2.8rem]';
}
// $this->label = Str::title($this->label);

View File

@@ -33,11 +33,7 @@ class Links extends Component
if ($application->ports) {
$portsCollection = collect(str($application->ports)->explode(','));
$portsCollection->map(function ($port) {
if (str($port)->contains(':')) {
$hostPort = str($port)->before(':');
} else {
$hostPort = $port;
}
$hostPort = str($port)->contains(':') ? str($port)->before(':') : $port;
$this->links->push(base_url(withPort: false).":{$hostPort}");
});
}