@@ -137,7 +137,7 @@ |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param $name |
|
140 | + * @param string $name |
|
141 | 141 | * @param $value |
142 | 142 | * @return null |
143 | 143 | */ |
@@ -115,7 +115,7 @@ discard block |
||
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 |
||
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; |
@@ -435,7 +435,7 @@ |
||
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 |
@@ -452,7 +452,7 @@ |
||
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())) { |
@@ -125,7 +125,7 @@ |
||
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 | } |