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

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