Passed
Push — master ( 5a5fc4...3cc318 )
by Alexander
01:55
created
src/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $this->route = Router::match($this->url, $this->method);
63 63
     }
64 64
 
65
-    public function getHeader(string $name): ?string
65
+    public function getHeader(string $name): ? string
66 66
     {
67 67
         return $this->headers[$name] ?? null;
68 68
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      *
156 156
      * @return Response
157 157
      */
158
-    public function response(): ?Response
158
+    public function response(): ? Response
159 159
     {
160 160
         $cb = $this->route->callback;
161 161
         $this->parameters = $this->route->parameters;
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      * @param string $key Dot notation for deeper values, i.e. `user.email`
174 174
      * @return mixed|null
175 175
      */
176
-    public function session(?string $key = null)
176
+    public function session(? string $key = null)
177 177
     {
178 178
         if (session_status() != PHP_SESSION_ACTIVE) {
179 179
             session_start();
Please login to merge, or discard this patch.