Skip to content

Commit

Permalink
Changed date casting for Laravel 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
boracakirel committed Jun 12, 2023
1 parent 8afee14 commit c551b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Models/Banking/Reconciliation.php
Expand Up @@ -11,8 +11,6 @@ class Reconciliation extends Model

protected $table = 'reconciliations';

protected $dates = ['deleted_at', 'started_at', 'ended_at'];

/**
* Attributes that should be mass-assignable.
*
Expand All @@ -30,6 +28,8 @@ class Reconciliation extends Model
'reconciled' => 'boolean',
'transactions' => 'array',
'deleted_at' => 'datetime',
'started_at' => 'datetime',
'ended_at' => 'datetime',
];

/**
Expand Down

0 comments on commit c551b7b

Please sign in to comment.