@@ -1129,7 +1129,7 @@ discard block |
||
| 1129 | 1129 | $key, |
| 1130 | 1130 | $value === null ? 'null' : gettype($value) |
| 1131 | 1131 | ); |
| 1132 | - } elseif (strlen($value) > (int)$matches[1]) { |
|
| 1132 | + } elseif (strlen($value) > (int) $matches[1]) { |
|
| 1133 | 1133 | $details[] = sprintf( |
| 1134 | 1134 | 'Received %d bytes of %s allowed for string key "%s" - value is too long', |
| 1135 | 1135 | strlen($value), |
@@ -1231,7 +1231,7 @@ discard block |
||
| 1231 | 1231 | { |
| 1232 | 1232 | $details = array(); |
| 1233 | 1233 | if (!empty($cardPan)) { |
| 1234 | - $numberStr = (string)$cardPan; |
|
| 1234 | + $numberStr = (string) $cardPan; |
|
| 1235 | 1235 | |
| 1236 | 1236 | $length = strlen($numberStr); |
| 1237 | 1237 | if ($length < 14) { |
@@ -1260,7 +1260,7 @@ discard block |
||
| 1260 | 1260 | $alt = false; |
| 1261 | 1261 | |
| 1262 | 1262 | for ($i = $length - 1; $i >= 0; $i--) { |
| 1263 | - $n = (int)$numberStr[$i]; |
|
| 1263 | + $n = (int) $numberStr[$i]; |
|
| 1264 | 1264 | if ($alt) { |
| 1265 | 1265 | $n *= 2; |
| 1266 | 1266 | if ($n > 9) { |