Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+5 -7
View File
@@ -2,8 +2,6 @@
namespace App\Models;
use App\Models\BaseModel;
class PaypalTransaction extends BaseModel
{
protected $table = 'paypal_transactions';
@@ -29,11 +27,11 @@ class PaypalTransaction extends BaseModel
];
protected $casts = [
'payment_id' => 'integer',
'amount' => 'decimal:2', // adjust precision if needed
'transaction_fee' => 'decimal:2', // adjust precision if needed
'payment_id' => 'integer',
'amount' => 'decimal:2', // adjust precision if needed
'transaction_fee' => 'decimal:2', // adjust precision if needed
// raw_data is often JSON; if it's JSON in DB, cast to array
'raw_data' => 'array',
'raw_data' => 'array',
];
/* Optional relationship */
@@ -41,4 +39,4 @@ class PaypalTransaction extends BaseModel
{
return $this->belongsTo(Payment::class, 'payment_id');
}
}
}