@@ -74,7 +74,7 @@ |
||
74 | 74 | */ |
75 | 75 | public static function createInstance(string $table, string $tablePrefix, array $schema): self |
76 | 76 | { |
77 | - $reference = new self($table, $tablePrefix, (string) $schema['id']); |
|
77 | + $reference = new self($table, $tablePrefix, (string)$schema['id']); |
|
78 | 78 | |
79 | 79 | $reference->columns = $schema['from']; |
80 | 80 | $reference->foreignTable = $schema['table']; |
@@ -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 |