Passed
Pull Request — master (#7)
by Timothy
06:21
created
src/Identity/SerializedIdentityAwareHeaderGenerator.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\Identity;
22 22
 
Please login to merge, or discard this patch.
src/Organization/OrganizationOptionsInterface.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\Organization;
22 22
 
Please login to merge, or discard this patch.
src/Organization/OrganizationOptions.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\Organization;
22 22
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public function setPeers(array $peers): void
158 158
     {
159
-        $this->peers = array_map(function ($peer): PeerOptionsInterface {
159
+        $this->peers = array_map(function($peer): PeerOptionsInterface {
160 160
             return $peer instanceof PeerOptionsInterface ? $peer : new PeerOptions($peer);
161 161
         }, $peers);
162 162
     }
Please login to merge, or discard this patch.
src/HashAlgorithm.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;
22 22
 
Please login to merge, or discard this patch.
src/Options/AbstractOptions.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\Options;
22 22
 
Please login to merge, or discard this patch.
src/Channel/ChannelFactoryInterface.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\Channel;
22 22
 
Please login to merge, or discard this patch.
src/Channel/ChannelFactory.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\Channel;
22 22
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     private function getPeers(UserContextInterface $user): array
83 83
     {
84
-        return \array_map(function (PeerOptionsInterface $options) {
84
+        return \array_map(function(PeerOptionsInterface $options) {
85 85
             return $this->peerFactory->fromPeerOptions($options);
86 86
         }, $user->getOrganization()->getPeers());
87 87
     }
Please login to merge, or discard this patch.
src/Chaincode/Chaincode.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\Chaincode;
22 22
 
Please login to merge, or discard this patch.
src/Signatory/SignatoryInterface.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\Signatory;
22 22
 
Please login to merge, or discard this patch.