temprory stan error fixes

This commit is contained in:
nurmuhammet committed 2025-03-19 17:01:26 +05:00
1 parent 8a6cf2b3b9
commit d25227867c
4 files changed
+22 -2

No files matched your search

+13 -1
View File
@@ -27,7 +27,7 @@
* @property string $username
* @property int $online_paymantable_id
* @property string $online_paymantable_type
* @property $api_response
* @property ?array $api_response
* @property \Illuminate\Support\Carbon $created_at
* @property \Illuminate\Support\Carbon $updated_at
*/
@@ -41,4 +41,16 @@ class OnlinePaymentHistory extends Model
* @var string
*/
protected $table = 'online_payment_histories';
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'api_response' => 'array',
];
}
}