From 1c4182d9d88bb4471f86b08329f1b68a5290872b Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Apr 2020 20:58:27 +0200 Subject: apply psr 12 part 2 --- app/class/Dbitem.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/class/Dbitem.php') 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 -- cgit v1.2.3