|
@@ -171,7 +171,7 @@ discard block |
|
|
block discarded – undo |
|
171
|
171
|
return self::decodeError($json); |
|
172
|
172
|
} |
|
173
|
173
|
|
|
174
|
|
- throw new \UnexpectedValueException($json['status'] . ' is not a valid JSend status.'); |
|
|
174
|
+ throw new \UnexpectedValueException($json['status'].' is not a valid JSend status.'); |
|
175
|
175
|
} |
|
176
|
176
|
|
|
177
|
177
|
/** |
|
@@ -285,7 +285,7 @@ discard block |
|
|
block discarded – undo |
|
285
|
285
|
public function setStatus($status) |
|
286
|
286
|
{ |
|
287
|
287
|
if ($status !== self::SUCCESS && $status !== self::FAIL && $status !== self::ERROR) { |
|
288
|
|
- throw new \UnexpectedValueException($status . ' is not a valid JSend status.'); |
|
|
288
|
+ throw new \UnexpectedValueException($status.' is not a valid JSend status.'); |
|
289
|
289
|
} |
|
290
|
290
|
|
|
291
|
291
|
$this->status = $status; |
Please login to merge, or discard this patch.