| @@ -199,7 +199,7 @@ | ||
| 199 | 199 | return $this->callback; | 
| 200 | 200 | } | 
| 201 | 201 | |
| 202 | -        return function () { | |
| 202 | +        return function() { | |
| 203 | 203 | }; | 
| 204 | 204 | } | 
| 205 | 205 | |
| @@ -222,7 +222,7 @@ | ||
| 222 | 222 | */ | 
| 223 | 223 | private function buildParamFromQueryString(string $queryString): void | 
| 224 | 224 |      { | 
| 225 | -        $param = \array_map(function ($array_value) { | |
| 225 | +        $param = \array_map(function($array_value) { | |
| 226 | 226 |              $tmp = \explode('=', $array_value); | 
| 227 | 227 | $array_value = []; | 
| 228 | 228 | $key = $tmp[0]; | 
| @@ -134,7 +134,7 @@ | ||
| 134 | 134 | \session_start([ | 
| 135 | 135 | 'cookie_path' => $this->cookiePath, | 
| 136 | 136 | 'cookie_domain' => $this->cookieDomain, | 
| 137 | - 'cookie_lifetime' => $this->expire,//($this->expire > 0) ? time() + $this->expire : 0, | |
| 137 | + 'cookie_lifetime' => $this->expire, //($this->expire > 0) ? time() + $this->expire : 0, | |
| 138 | 138 | 'cookie_secure' => $this->cookieSecure, | 
| 139 | 139 | 'cookie_httponly' => $this->cookieHttpOnly, | 
| 140 | 140 | 'cookie_samesite' => $this->cookieSameSite | 
| @@ -163,7 +163,7 @@ | ||
| 163 | 163 | |
| 164 | 164 | //get parameter from constructor | 
| 165 | 165 | //can return error when constructor not declared | 
| 166 | - $constructor = (new ReflectionClass($class))->getConstructor();//->getParameters(); | |
| 166 | + $constructor = (new ReflectionClass($class))->getConstructor(); //->getParameters(); | |
| 167 | 167 | //this should be resolve the error of when a class without constructor is encountered | 
| 168 | 168 | $parameters = \is_null($constructor) ? [] : $constructor->getParameters(); | 
| 169 | 169 | |