aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controller.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-24 16:36:12 +0200
committerVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-04-25 17:44:38 +0200
commit385b3f4adf86606e03941171c136d8f2eb2b35c2 (patch)
tree2231cf04d67a5cae7284364ac5552a321b9a236e /app/class/Controller.php
parent03d425bdd9a639446ae72ce6556d753f2f162f83 (diff)
downloadwcms-385b3f4adf86606e03941171c136d8f2eb2b35c2.tar.gz
wcms-385b3f4adf86606e03941171c136d8f2eb2b35c2.zip
fix: most of PHPStan errors
Diffstat (limited to 'app/class/Controller.php')
-rw-r--r--app/class/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Controller.php b/app/class/Controller.php
index 4185be8..34b3d11 100644
--- a/app/class/Controller.php
+++ b/app/class/Controller.php
@@ -33,7 +33,7 @@ class Controller
$this->router = $router;
$this->pagemanager = new Modelpage();
$this->initplates();
- $this->now = new DateTimeImmutable(null, timezone_open("Europe/Paris"));
+ $this->now = new DateTimeImmutable("now", timezone_open("Europe/Paris"));
}
public function setuser()