Browse Source

Remove double space and fix return type hint

Michael Hoffmann 7 years ago
parent
commit
9cf2b41bfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Controller/Component/SecurityComponentTest.php

+ 1 - 1
tests/TestCase/Controller/Component/SecurityComponentTest.php

@@ -97,7 +97,7 @@ class SecurityTestController extends Controller
      * @param int $status
      * @return \Cake\Http\Response|null
      */
-    public function redirect($url, int $status = null):  ?\Cake\Http\Response
+    public function redirect($url, int $status = null): ?Response
     {
         return $status;
     }