@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | */ |
| 323 | 323 | public function getRootTables() |
| 324 | 324 | { |
| 325 | - return array_filter($this->getTables(), function (AbstractTable $table) { |
|
| 325 | + return array_filter($this->getTables(), function(AbstractTable $table) { |
|
| 326 | 326 | return $table->isRoot(); |
| 327 | 327 | }); |
| 328 | 328 | } |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | */ |
| 333 | 333 | public function getJoinTables() |
| 334 | 334 | { |
| 335 | - return array_filter($this->getTables(), function (AbstractTable $table) { |
|
| 335 | + return array_filter($this->getTables(), function(AbstractTable $table) { |
|
| 336 | 336 | return $table->isJoin(); |
| 337 | 337 | }); |
| 338 | 338 | } |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | return ''; |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | - return 'UPDATE ' . implode(', ', array_map(function (AbstractTable $table) { |
|
| 191 | + return 'UPDATE ' . implode(', ', array_map(function(AbstractTable $table) { |
|
| 192 | 192 | if ($table->getAlias()) { |
| 193 | 193 | return $table->getTableName() . ' AS ' . $table->getAlias(); |
| 194 | 194 | } |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | return ''; |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | - return 'FROM ' . implode(', ', array_map(function (AbstractTable $table) { |
|
| 211 | + return 'FROM ' . implode(', ', array_map(function(AbstractTable $table) { |
|
| 212 | 212 | if ($table->getAlias()) { |
| 213 | 213 | return $table->getTableName() . ' AS ' . $table->getAlias(); |
| 214 | 214 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class ReferenceParser |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param $rawSQL |
|
| 23 | + * @param string $rawSQL |
|
| 24 | 24 | * @param ReferenceManager $manager |
| 25 | 25 | */ |
| 26 | 26 | public function __construct($rawSQL, ReferenceManager $manager) |