Passed
Pull Request — master (#7)
by Timothy
06:21
created
src/Peer/PeerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Peer/UnaryCallResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Exception/BadMethodCallException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Config/ClientConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/Config/ClientConfigInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Serializer/SignedCharStringSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Transaction/TransactionOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Proposal/ResponseCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Proposal/ProposalProcessorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.