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/Event.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'app/class/Event.php') diff --git a/app/class/Event.php b/app/class/Event.php index ca470f6..c14b0e8 100644 --- a/app/class/Event.php +++ b/app/class/Event.php @@ -68,7 +68,6 @@ class Event extends Dbitem $now = new DateTimeImmutable(null, timezone_open("Europe/Paris")); return hrdi($this->date->diff($now)); break; - } } @@ -147,16 +146,8 @@ class Event extends Dbitem public function setclap($clap) { - if(is_int($clap)) { + if (is_int($clap)) { $this->clap = $clap; } } - - - - - } - - -?> \ No newline at end of file -- cgit v1.2.3