mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
Fix styling
This commit is contained in:
1 parent
41fb6a1fc9
commit
d86274cc37
429 files changed
+5307
-2831
No files matched your search
@@ -14,14 +14,17 @@ class LocalPersistentVolume extends Model
|
||||
{
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
|
||||
public function service()
|
||||
{
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
|
||||
public function database()
|
||||
{
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
|
||||
public function standalone_postgresql()
|
||||
{
|
||||
return $this->morphTo('resource');
|
||||
@@ -44,7 +47,7 @@ class LocalPersistentVolume extends Model
|
||||
protected function hostPath(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
set: function (string|null $value) {
|
||||
set: function (?string $value) {
|
||||
if ($value) {
|
||||
return Str::of($value)->trim()->start('/')->value;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user