@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | |
| 118 | 118 | switch ($key) { |
| 119 | 119 | case 'orderNumber': |
| 120 | - if (! isset($value)) { |
|
| 120 | + if (!isset($value)) { |
|
| 121 | 121 | throw new InvalidRequestException("The $key parameter is required"); |
| 122 | 122 | } elseif (empty($value)) { |
| 123 | 123 | throw new InvalidRequestException("The $key parameter cannot be empty"); |
@@ -127,9 +127,9 @@ discard block |
||
| 127 | 127 | break; |
| 128 | 128 | |
| 129 | 129 | case 'cryptType': |
| 130 | - if (! isset($value)) { |
|
| 130 | + if (!isset($value)) { |
|
| 131 | 131 | throw new InvalidRequestException("The $key parameter is required"); |
| 132 | - } elseif (! in_array($value, self::ECOMMERCE_INDICATORS)) { |
|
| 132 | + } elseif (!in_array($value, self::ECOMMERCE_INDICATORS)) { |
|
| 133 | 133 | throw new InvalidRequestException("The $key is invalid"); |
| 134 | 134 | } |
| 135 | 135 | break; |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | break; |
| 142 | 142 | |
| 143 | 143 | default: |
| 144 | - if (! isset($value)) { |
|
| 144 | + if (!isset($value)) { |
|
| 145 | 145 | throw new InvalidRequestException("The $key parameter is required"); |
| 146 | 146 | } |
| 147 | 147 | break; |