@@ -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\ProtoFactory; |
| 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; |
| 22 | 22 | |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | // Convert peers into asynchronous calls. |
| 158 | - $calls = \array_map(function (PeerInterface $peer) use ($proposal) { |
|
| 158 | + $calls = \array_map(function(PeerInterface $peer) use ($proposal) { |
|
| 159 | 159 | return $peer->processSignedProposal($proposal); |
| 160 | 160 | }, $options->getPeers()); |
| 161 | 161 | |
@@ -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\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 AmericanExpress\HyperledgerFabricClient\User; |
| 22 | 22 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function Chat($metadata = [], $options = []) { |
| 42 | 42 | return $this->_bidiRequest('/protos.Events/Chat', |
| 43 | - ['\Hyperledger\Fabric\Protos\Peer\Event','decode'], |
|
| 43 | + ['\Hyperledger\Fabric\Protos\Peer\Event', 'decode'], |
|
| 44 | 44 | $metadata, $options); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function Register($metadata = [], $options = []) { |
| 42 | 42 | return $this->_bidiRequest('/protos.ChaincodeSupport/Register', |
| 43 | - ['\Hyperledger\Fabric\Protos\Peer\ChaincodeMessage','decode'], |
|
| 43 | + ['\Hyperledger\Fabric\Protos\Peer\ChaincodeMessage', 'decode'], |
|
| 44 | 44 | $metadata, $options); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | public function Broadcast($metadata = [], $options = []) { |
| 41 | 41 | return $this->_bidiRequest('/orderer.AtomicBroadcast/Broadcast', |
| 42 | - ['\Hyperledger\Fabric\Protos\Orderer\BroadcastResponse','decode'], |
|
| 42 | + ['\Hyperledger\Fabric\Protos\Orderer\BroadcastResponse', 'decode'], |
|
| 43 | 43 | $metadata, $options); |
| 44 | 44 | } |
| 45 | 45 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | public function Deliver($metadata = [], $options = []) { |
| 52 | 52 | return $this->_bidiRequest('/orderer.AtomicBroadcast/Deliver', |
| 53 | - ['\Hyperledger\Fabric\Protos\Orderer\DeliverResponse','decode'], |
|
| 53 | + ['\Hyperledger\Fabric\Protos\Orderer\DeliverResponse', 'decode'], |
|
| 54 | 54 | $metadata, $options); |
| 55 | 55 | } |
| 56 | 56 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function GossipStream($metadata = [], $options = []) { |
| 31 | 31 | return $this->_bidiRequest('/gossip.Gossip/GossipStream', |
| 32 | - ['\Gossip\Envelope','decode'], |
|
| 32 | + ['\Gossip\Envelope', 'decode'], |
|
| 33 | 33 | $metadata, $options); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -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 | |