aboutsummaryrefslogtreecommitdiff
path: root/app/class/Dbitem.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Dbitem.php')
-rw-r--r--app/class/Dbitem.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/class/Dbitem.php b/app/class/Dbitem.php
index 34814d2..44dec2c 100644
--- a/app/class/Dbitem.php
+++ b/app/class/Dbitem.php
@@ -12,7 +12,7 @@ abstract class Dbitem extends Item
{
$array = [];
foreach ($this as $var => $value) {
- if($value instanceof DateTime || $value instanceof DateTimeImmutable) {
+ if ($value instanceof DateTime || $value instanceof DateTimeImmutable) {
$array[$var] = $this->$var('string');
} else {
$array[$var] = $this->$var();
@@ -20,7 +20,4 @@ abstract class Dbitem extends Item
}
return $array;
}
-
}
-
-?> \ No newline at end of file