Passed
Push — master ( 28b0ab...accbfe )
by Andrey
03:54
created
src/Traits/CounterpartyProperty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getCounterpartyType()
56 56
     {
57
-        if (! $this->counterpartyType) {
57
+        if (!$this->counterpartyType) {
58 58
             $this->counterpartyType = 'PrivatePerson';
59 59
         }
60 60
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             return $this;
75 75
         }
76 76
 
77
-        if (! $this->counterpartyProperty) {
77
+        if (!$this->counterpartyProperty) {
78 78
             $this->counterpartyProperty = 'Recipient';
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Models/Counterparty.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,20 +49,20 @@
 block discarded – undo
49 49
         $this->getEDRPOU();
50 50
 
51 51
         if ($this->counterpartyProperty !== 'ThirdPerson') {
52
-          $this->methodProperties['FirstName'] = $firstName;
52
+            $this->methodProperties['FirstName'] = $firstName;
53 53
         }
54 54
 
55 55
         if ($lastName) {
56
-          $this->methodProperties['LastName'] = $lastName;
56
+            $this->methodProperties['LastName'] = $lastName;
57 57
         }
58 58
         if ($middleName) {
59
-          $this->methodProperties['MiddleName'] = $middleName;
59
+            $this->methodProperties['MiddleName'] = $middleName;
60 60
         }
61 61
         if ($phone) {
62
-          $this->methodProperties['Phone'] = $phone;
62
+            $this->methodProperties['Phone'] = $phone;
63 63
         }
64 64
         if ($email) {
65
-          $this->methodProperties['Email'] = $email;
65
+            $this->methodProperties['Email'] = $email;
66 66
         }
67 67
 
68 68
         return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties);
Please login to merge, or discard this patch.