@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK; |
| 6 | 6 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | "JWK Set must have a 'keys' member."); |
| 70 | 70 | } |
| 71 | 71 | $jwks = array_map( |
| 72 | - function ($jwkdata) { |
|
| 72 | + function($jwkdata) { |
|
| 73 | 73 | return JWK::fromArray($jwkdata); |
| 74 | 74 | }, $members['keys']); |
| 75 | 75 | unset($members['keys']); |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | { |
| 175 | 175 | $data = $this->_additional; |
| 176 | 176 | $data['keys'] = array_map( |
| 177 | - function (JWK $jwk) { |
|
| 177 | + function(JWK $jwk) { |
|
| 178 | 178 | return $jwk->toArray(); |
| 179 | 179 | }, $this->_jwks); |
| 180 | 180 | return $data; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK\RSA; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK\Parameter; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK\Asymmetric; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWK\EC; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWS; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\JWS\Algorithm; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\JWX\Util; |
| 6 | 6 | |
@@ -78,9 +78,9 @@ discard block |
||
| 78 | 78 | // time_mid |
| 79 | 79 | mt_rand(0, 0xffff), |
| 80 | 80 | // time_hi_and_version |
| 81 | - mt_rand(0, 0x0fff) | 0x4000, |
|
| 81 | + mt_rand(0, 0x0fff)|0x4000, |
|
| 82 | 82 | // clk_seq_hi_res |
| 83 | - mt_rand(0, 0x3f) | 0x80, |
|
| 83 | + mt_rand(0, 0x3f)|0x80, |
|
| 84 | 84 | // clk_seq_low |
| 85 | 85 | mt_rand(0, 0xff), |
| 86 | 86 | // node |