From 5779493989171ecad63bc14cc4916527f4eca2d5 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Thu, 13 Jun 2019 16:50:39 +0200 Subject: [PATCH] Restore PHP 5.6 compatiblity --- src/main/php/web/session/Sessions.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/php/web/session/Sessions.class.php b/src/main/php/web/session/Sessions.class.php index 90d2617..af55b0b 100755 --- a/src/main/php/web/session/Sessions.class.php +++ b/src/main/php/web/session/Sessions.class.php @@ -53,7 +53,7 @@ public function in($path) { * @param bool $whether * @return self */ - public function insecure(bool $whether) { + public function insecure($whether) { $this->secure= !$whether; return $this; }