@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Chaincode; |
22 | 22 | |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | $data = $this->loadStaticData(); |
131 | 131 | |
132 | 132 | return array_map( |
133 | - function ($value) { |
|
133 | + function($value) { |
|
134 | 134 | return array_intersect_key( |
135 | 135 | $value, |
136 | 136 | array_flip(['dateTime', 'proposalHeader', 'proposalPayload', 'proposalExtension']) |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Header; |
22 | 22 |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Config; |
22 | 22 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | self::assertSame(5000, $sut->getIn(['timeout'])); |
69 | 69 | self::assertSame(0, $sut->getIn(['epoch'])); |
70 | - self::assertSame('sha256', (string)$sut->getIn(['crypto-hash-algo'])); |
|
70 | + self::assertSame('sha256', (string) $sut->getIn(['crypto-hash-algo'])); |
|
71 | 71 | self::assertSame(24, $sut->getIn(['nonce-size'])); |
72 | 72 | } |
73 | 73 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | self::assertSame(10, $sut->getIn(['timeout'])); |
84 | 84 | self::assertSame(-100, $sut->getIn(['epoch'])); |
85 | - self::assertSame('md5', (string)$sut->getIn(['crypto-hash-algo'])); |
|
85 | + self::assertSame('md5', (string) $sut->getIn(['crypto-hash-algo'])); |
|
86 | 86 | self::assertSame(3, $sut->getIn(['nonce-size'])); |
87 | 87 | } |
88 | 88 | |
@@ -124,14 +124,14 @@ discard block |
||
124 | 124 | 'crypto-hash-algo' => 'whirlpool', |
125 | 125 | ]); |
126 | 126 | |
127 | - self::assertSame('whirlpool', (string)$sut->getHashAlgorithm()); |
|
127 | + self::assertSame('whirlpool', (string) $sut->getHashAlgorithm()); |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | public function testHashAlgorithmAssessorDefaultValue() |
131 | 131 | { |
132 | 132 | $sut = new ClientConfig([]); |
133 | 133 | |
134 | - self::assertSame('sha256', (string)$sut->getHashAlgorithm()); |
|
134 | + self::assertSame('sha256', (string) $sut->getHashAlgorithm()); |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | public function testTimeoutAssessor() |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Config; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Nonce; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\ProtoFactory; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\MSP; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Proposal; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * permissions and limitations under the License. |
17 | 17 | */ |
18 | 18 | |
19 | -declare(strict_types=1); |
|
19 | +declare(strict_types = 1); |
|
20 | 20 | |
21 | 21 | namespace AmericanExpressTest\HyperledgerFabricClient\Transaction; |
22 | 22 |