testing php storm code cleanup and styling

This commit is contained in:
Andras Bacsai
2023-08-08 11:51:36 +02:00
parent a8ee779b31
commit f2228cec7b
368 changed files with 23834 additions and 2623 deletions

View File

@@ -9,26 +9,31 @@ use Illuminate\Support\Str;
class LocalPersistentVolume extends Model
{
protected $guarded = [];
public function application()
{
return $this->morphTo();
}
public function standalone_postgresql()
{
return $this->morphTo();
}
protected function name(): Attribute
{
return Attribute::make(
set: fn (string $value) => Str::of($value)->trim()->value,
set: fn(string $value) => Str::of($value)->trim()->value,
);
}
protected function mountPath(): Attribute
{
return Attribute::make(
set: fn (string $value) => Str::of($value)->trim()->start('/')->value
set: fn(string $value) => Str::of($value)->trim()->start('/')->value
);
}
protected function hostPath(): Attribute
{
return Attribute::make(