Passed
Push — master ( d67be8...deef18 )
by Jelmer
04:28
created
src/Controller/CallableController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public static function factoryFromCallable(callable $closure): callable
16 16
     {
17
-        return function () use ($closure) {
17
+        return function() use ($closure) {
18 18
             return self::fromCallable($closure);
19 19
         };
20 20
     }
Please login to merge, or discard this patch.
src/Session/ZendSessionProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /** @var  ?ConfigInterface */
14 14
     private $zendSessionConfig;
15 15
 
16
-    public function __construct(?ConfigInterface $zendSessionConfig = null)
16
+    public function __construct(? ConfigInterface $zendSessionConfig = null)
17 17
     {
18 18
         $this->zendSessionConfig = $zendSessionConfig;
19 19
     }
Please login to merge, or discard this patch.
src/Session/JwtSessionProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         );
103 103
     }
104 104
 
105
-    public function parseToken(ServerRequestInterface $request): ?Token
105
+    public function parseToken(ServerRequestInterface $request): ? Token
106 106
     {
107 107
         $cookies = $request->getCookieParams();
108 108
         $cookieName = $this->defaultCookie->getName();
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
     public function appendToken(
128 128
         SessionInterface $session,
129 129
         ResponseInterface $response,
130
-        ?Token $token
131
-    ): ResponseInterface
130
+        ? Token $token
131
+    ) : ResponseInterface
132 132
     {
133 133
         $sessionContainerChanged = $session->hasChanged();
134 134
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
             ->withExpires($timestamp + $this->expirationTime);
182 182
     }
183 183
 
184
-    public function extractSessionContainer(?Token $token): SessionInterface
184
+    public function extractSessionContainer(? Token $token) : SessionInterface
185 185
     {
186 186
         try {
187 187
             if (is_null($token) || !$token->verify($this->signer, $this->verificationKey)) {
Please login to merge, or discard this patch.
src/ServerMiddleware/JsonRequestParserMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         return $delegate->process($request);
29 29
     }
30 30
 
31
-    private function isJsonRequest(?string $requestContentType)
31
+    private function isJsonRequest(? string $requestContentType)
32 32
     {
33 33
         foreach ($this->jsonContentTypes as $jsonContentType) {
34 34
             if (preg_match($jsonContentType, $requestContentType) > 0) {
Please login to merge, or discard this patch.