@@ -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 AmericanExpress\HyperledgerFabricClient\Peer; |
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 AmericanExpress\HyperledgerFabricClient\Peer; |
22 | 22 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | { |
56 | 56 | $peer = $this; |
57 | 57 | |
58 | - return new ResponseCollection(\array_map(function (UnaryCall $call) use ($peer) { |
|
58 | + return new ResponseCollection(\array_map(function(UnaryCall $call) use ($peer) { |
|
59 | 59 | return $peer->resolveOne($call); |
60 | 60 | }, $calls)); |
61 | 61 | } |
@@ -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 AmericanExpress\HyperledgerFabricClient\Exception; |
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 AmericanExpress\HyperledgerFabricClient\Config; |
22 | 22 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
69 | - $this->config['organizations'] = array_map(function (array $data) { |
|
69 | + $this->config['organizations'] = array_map(function(array $data) { |
|
70 | 70 | try { |
71 | 71 | return new OrganizationOptions($data); |
72 | 72 | } catch (BadMethodCallException $e) { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | { |
127 | 127 | $organizations = array_filter( |
128 | 128 | $this->getIn(['organizations'], []), |
129 | - function (OrganizationOptionsInterface $organization) use ($name) { |
|
129 | + function(OrganizationOptionsInterface $organization) use ($name) { |
|
130 | 130 | return $organization->getName() === $name; |
131 | 131 | } |
132 | 132 | ); |
@@ -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 AmericanExpress\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 AmericanExpress\HyperledgerFabricClient\Serializer; |
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 AmericanExpress\HyperledgerFabricClient\Transaction; |
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 AmericanExpress\HyperledgerFabricClient\Proposal; |
22 | 22 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getProposalResponses(): array |
45 | 45 | { |
46 | - return \array_filter(\array_map(function (Response $response) { |
|
46 | + return \array_filter(\array_map(function(Response $response) { |
|
47 | 47 | return $response->getProposalResponse(); |
48 | 48 | }, $this->responses)); |
49 | 49 | } |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function getExceptions(): array |
63 | 63 | { |
64 | - return \array_filter(\array_map(function (Response $response) { |
|
64 | + return \array_filter(\array_map(function(Response $response) { |
|
65 | 65 | return $response->getException(); |
66 | 66 | }, $this->responses)); |
67 | 67 | } |
@@ -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 AmericanExpress\HyperledgerFabricClient\Proposal; |
22 | 22 |