Completed
Push — master ( c34df5...c7e42b )
by Gareth
04:11
created
src/API/MagicMethodsTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param $name
140
+     * @param string $name
141 141
      * @param $value
142 142
      * @return null
143 143
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             }
116 116
         }
117 117
 
118
-        throw new \Exception('Property ' . $names[0] . ' does not exist');
118
+        throw new \Exception('Property '.$names[0].' does not exist');
119 119
     }
120 120
 
121 121
     /**
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
 
132 132
         if (!$this->exists($name)) {
133
-            throw new \Exception('Property ' . $name . ' does not exist');
133
+            throw new \Exception('Property '.$name.' does not exist');
134 134
         }
135 135
 
136 136
         return $name;
Please login to merge, or discard this patch.
src/API/ExchangeWebServices.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@
 block discarded – undo
435 435
 
436 436
     /**
437 437
      * @param Message\BaseResponseMessageType $response
438
-     * @param $code
438
+     * @param integer $code
439 439
      * @throws ExchangeException
440 440
      * @throws NoResponseReturnedException
441 441
      * @throws ServiceUnavailableException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
         }
453 453
 
454 454
         if ($code >= 300) {
455
-            throw new ExchangeException('SOAP client returned status of ' . $code, $code);
455
+            throw new ExchangeException('SOAP client returned status of '.$code, $code);
456 456
         }
457 457
 
458 458
         if (empty($response) || empty($response->getNonNullResponseMessages())) {
Please login to merge, or discard this patch.
src/API/Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         }
126 126
 
127 127
         if (is_array($property)) {
128
-            $property = array_map(function ($property) {
128
+            $property = array_map(function($property) {
129 129
                 if ($property instanceof Type) {
130 130
                     return $property->toXmlObject();
131 131
                 }
Please login to merge, or discard this patch.