@@ -189,7 +189,7 @@ |
||
| 189 | 189 | return new StatementException\ConnectionException($exception, $query); |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | - if ((int) $exception->getCode() >= 23000 && (int) $exception->getCode() < 24000) { |
|
| 192 | + if ((int)$exception->getCode() >= 23000 && (int)$exception->getCode() < 24000) { |
|
| 193 | 193 | return new StatementException\ConstrainException($exception, $query); |
| 194 | 194 | } |
| 195 | 195 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | |
| 10 | 10 | declare(strict_types=1); |
| 11 | 11 | |
| 12 | -spl_autoload_register(static function (string $class) { |
|
| 12 | +spl_autoload_register(static function(string $class) { |
|
| 13 | 13 | if (strpos($class, 'Spiral\\Database\\') === 0) { |
| 14 | 14 | $original = 'Cycle\\Database\\' . substr($class, 16); |
| 15 | 15 | |