@@ -91,7 +91,7 @@ |
||
91 | 91 | */ |
92 | 92 | public function join($query, $alias = null) |
93 | 93 | { |
94 | - $parts = explode('#', (string)$alias); |
|
94 | + $parts = explode('#', (string) $alias); |
|
95 | 95 | |
96 | 96 | if (!isset($parts[1])) { |
97 | 97 | throw new \LogicException('Joins are not supported on polymorph without discriminator'); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | * |
40 | 40 | * @param string $type |
41 | 41 | */ |
42 | - public function declare(string $type): void |
|
42 | + public function declare(string$type): void |
|
43 | 43 | { |
44 | 44 | if (isset($this->declaredTypes[$type])) { |
45 | 45 | return; |