Completed
Push — master ( 193c43...77c695 )
by Sebastian
04:11
created
src/Linna/Router/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
             return $this->callback;
200 200
         }
201 201
 
202
-        return function () {
202
+        return function() {
203 203
         };
204 204
     }
205 205
 
Please login to merge, or discard this patch.
src/Linna/Router/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.
src/Linna/Session/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Linna/Container/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 
166 166
         //get parameter from constructor
167 167
         //can return error when constructor not declared
168
-        $constructor = (new ReflectionClass($class))->getConstructor();//->getParameters();
168
+        $constructor = (new ReflectionClass($class))->getConstructor(); //->getParameters();
169 169
         //this should resolve the error when a class without constructor is encountered
170 170
         $parameters = \is_null($constructor) ? [] : $constructor->getParameters();
171 171
 
Please login to merge, or discard this patch.