Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -88,7 +88,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;
*/
class Transaction extends Model
{
use SoftDeletes, HasFactory;
use SoftDeletes;
use HasFactory;
/**
* The attributes that should be casted to native types.
@@ -266,7 +267,7 @@ class Transaction extends Model
protected function amount(): Attribute
{
return Attribute::make(
get: fn($value) => (string) $value,
get: fn ($value) => (string) $value,
);
}
@@ -278,7 +279,7 @@ class Transaction extends Model
protected function foreignAmount(): Attribute
{
return Attribute::make(
get: fn($value) => (string) $value,
get: fn ($value) => (string) $value,
);
}
}