Completed
Push — master ( aa0890...954646 )
by Guillaume
17:35 queued 02:00
created
src/JwtMiddleware.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      *
42 42
      * @param callable $handler
43 43
      *
44
-     * @return Closure
44
+     * @return \Closure
45 45
      */
46 46
     public function __invoke(callable $handler)
47 47
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $token = $this->jwtManager->getJwtToken()->getToken();
49 49
 
50
-        return function (
50
+        return function(
51 51
             RequestInterface $request,
52 52
             array $options
53 53
         ) use (
Please login to merge, or discard this patch.
Tests/JwtMiddlewareTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         );
38 38
 
39 39
         $mockHandler = new MockHandler([
40
-            function (RequestInterface $request) {
40
+            function(RequestInterface $request) {
41 41
                 $this->assertTrue($request->hasHeader('Authorization'));
42 42
                 $this->assertSame(
43 43
                     sprintf(JwtMiddleware::AUTH_BEARER, 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9'),
Please login to merge, or discard this patch.
Tests/Manager/JwtManagerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         );
38 38
 
39 39
         $mockHandler = new MockHandler([
40
-            function (RequestInterface $request) {
40
+            function(RequestInterface $request) {
41 41
                 $this->assertTrue($request->hasHeader('Authorization'));
42 42
                 $this->assertSame(
43 43
                     sprintf(JwtMiddleware::AUTH_BEARER, 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9'),
Please login to merge, or discard this patch.