rector: arrrrr
This commit is contained in:
@@ -77,6 +77,10 @@ class SwarmDocker extends BaseModel
|
||||
|
||||
public function attachedTo()
|
||||
{
|
||||
return $this->applications?->count() > 0 || $this->databases()->count() > 0;
|
||||
if ($this->applications?->count() > 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return $this->databases()->count() > 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user