mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Always prefer ::class notation
This commit is contained in:
1 parent
94e73c6d8b
commit
c5403b0b3f
31 files changed
+99
-99
No files matched your search
@@ -24,7 +24,7 @@ function replaceVariables(string $variable): Stringable
|
||||
function getFilesystemVolumesFromServer(ServiceApplication|ServiceDatabase|Application $oneService, bool $isInit = false)
|
||||
{
|
||||
try {
|
||||
if ($oneService->getMorphClass() === 'App\Models\Application') {
|
||||
if ($oneService->getMorphClass() === \App\Models\Application::class) {
|
||||
$workdir = $oneService->workdir();
|
||||
$server = $oneService->destination->server;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user