1919use CodeIgniter \Entity \Entity ;
2020use CodeIgniter \Exceptions \InvalidArgumentException ;
2121use Config \Database ;
22+ use DateTimeInterface ;
2223use PHPUnit \Framework \Attributes \DataProvider ;
2324use PHPUnit \Framework \Attributes \Group ;
2425use stdClass ;
@@ -213,8 +214,8 @@ public function testUpdateBatchWithEntity(): void
213214 protected string $ email ;
214215 protected string $ country ;
215216 protected bool $ deleted ;
216- protected int $ created_at ;
217- protected int $ updated_at ;
217+ protected DateTimeInterface $ created_at ;
218+ protected DateTimeInterface $ updated_at ;
218219
219220 /**
220221 * @var array{'datamap': array{}, 'dates': array{string, string, string}, 'casts': array{}}
@@ -236,8 +237,8 @@ public function testUpdateBatchWithEntity(): void
236237 protected string $ email ;
237238 protected string $ country ;
238239 protected bool $ deleted ;
239- protected int $ created_at ;
240- protected int $ updated_at ;
240+ protected DateTimeInterface $ created_at ;
241+ protected DateTimeInterface $ updated_at ;
241242
242243 /**
243244 * @var array{'datamap': array{}, 'dates': array{string, string, string}, 'casts': array{}}
@@ -412,8 +413,8 @@ public function testUpdateWithEntityNoAllowedFields(): void
412413 protected string $ email ;
413414 protected string $ country ;
414415 protected bool $ deleted ;
415- protected int $ created_at ;
416- protected int $ updated_at ;
416+ protected DateTimeInterface $ created_at ;
417+ protected DateTimeInterface $ updated_at ;
417418
418419 /**
419420 * @var array{'datamap': array{}, 'dates': array{string, string, string}, 'casts': array{}}
0 commit comments