🚀 Update Laravel Framework to 10

This commit is contained in:
BrettonYe
2023-06-14 15:11:01 +08:00
committed by BrettonYe
parent 5df3a6a2ce
commit 72c66e199c
400 changed files with 8633 additions and 10000 deletions

View File

@@ -28,13 +28,13 @@ class UserDataModifyLog extends Model
return $this->belongsTo(Order::class);
}
public function getBeforeAttribute($value)
public function getBeforeAttribute($value): string
{
return $this->attributes['before'] = flowAutoShow($value);
return $this->attributes['before'] = formatBytes($value);
}
public function getAfterAttribute($value)
public function getAfterAttribute($value): string
{
return $this->attributes['after'] = flowAutoShow($value);
return $this->attributes['after'] = formatBytes($value);
}
}