Skip to content

Commit ac2712f

Browse files
committed
style: fix the style.
1 parent ce7b4ad commit ac2712f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Entity/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function toRawArray(bool $onlyChanged = false, bool $recursive = false):
237237
}
238238

239239
foreach ($this->dates as $dateField) {
240-
if (isset($this->attributes[$dateField]) && $this->attributes[$dateField] instanceof \CodeIgniter\I18n\Time) {
240+
if (isset($this->attributes[$dateField]) && $this->attributes[$dateField] instanceof Time) {
241241
$this->attributes[$dateField] = $this->attributes[$dateField]->toDateTimeString();
242242
}
243243
}

0 commit comments

Comments
 (0)