Apply php-cs-fixer changes

This commit is contained in:
Dane Everitt 2021-08-07 16:10:24 -07:00
parent cec96062e3
commit 436e686037
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
72 changed files with 91 additions and 196 deletions

View file

@ -37,9 +37,6 @@ class Backup extends Model
*/
protected $table = 'backups';
/**
* @var bool
*/
protected bool $immutableDates = true;
/**
@ -76,9 +73,6 @@ class Backup extends Model
*/
protected $guarded = ['id', 'created_at', 'updated_at', 'deleted_at'];
/**
* @var array
*/
public static array $validationRules = [
'server_id' => 'bail|required|numeric|exists:servers,id',
'uuid' => 'required|uuid',
@ -107,6 +101,6 @@ class Backup extends Model
{
return $this->hasMany(AuditLog::class, 'metadata->backup_uuid', 'uuid')
->where('action', 'LIKE', 'server:backup.%');
// ->where('metadata->backup_uuid', $this->uuid);
// ->where('metadata->backup_uuid', $this->uuid);
}
}