@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace X509\CertificationRequest\Attribute; |
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 X509\CertificationRequest; |
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 X509\CertificationPath\Exception; |
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 X509\CertificationPath\Exception; |
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 X509\CertificationPath\Policy; |
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 X509\CertificationPath\Policy; |
6 | 6 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | // is not in the user-initial-policy-set and is not anyPolicy, |
95 | 95 | // delete this node and all its children. |
96 | 96 | $valid_policy_node_set = array_filter($valid_policy_node_set, |
97 | - function (PolicyNode $node) use ($policies) { |
|
97 | + function(PolicyNode $node) use ($policies) { |
|
98 | 98 | if ($node->isAnyPolicy()) { |
99 | 99 | return true; |
100 | 100 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | }); |
107 | 107 | // array of valid policy OIDs |
108 | 108 | $valid_policy_set = array_map( |
109 | - function (PolicyNode $node) { |
|
109 | + function(PolicyNode $node) { |
|
110 | 110 | return $node->validPolicy(); |
111 | 111 | }, $valid_policy_node_set); |
112 | 112 | // 3. If the valid_policy_tree includes a node of depth n with |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | } |
388 | 388 | // for each node in a tree |
389 | 389 | $this->_root->walkNodes( |
390 | - function (PolicyNode $node) use (&$set) { |
|
390 | + function(PolicyNode $node) use (&$set) { |
|
391 | 391 | $parents = $node->parents(); |
392 | 392 | // node has parents |
393 | 393 | if (count($parents)) { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace X509\CertificationPath; |
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 X509\CertificationPath\PathValidation; |
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 X509\CertificationPath\PathValidation; |
6 | 6 |