Passed
Pull Request — master (#15)
by Alexander
01:46
created
src/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $this->parameters = $this->route->parameters();
74 74
     }
75 75
 
76
-    public function getHeader(string $name): ?string
76
+    public function getHeader(string $name): ? string
77 77
     {
78 78
         return $this->headers[$name] ?? null;
79 79
     }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      *
168 168
      * @return Response
169 169
      */
170
-    public function response(): ?Response
170
+    public function response(): ? Response
171 171
     {
172 172
         $response = ($this->route)($this);
173 173
         return ($response instanceof Response) ? $response : null;
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      * @param string $key Dot notation for deeper values, i.e. `user.email`
182 182
      * @return mixed|SessionInterface
183 183
      */
184
-    public function session(?string $key = null)
184
+    public function session(? string $key = null)
185 185
     {
186 186
         if (is_null($key)) {
187 187
             return $this->session;
Please login to merge, or discard this patch.