@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | string $relationshipName, |
| 376 | 376 | ?iterable $relationshipFilters, |
| 377 | 377 | ?iterable $relationshipSorts |
| 378 | - ): self { |
|
| 378 | + ) : self { |
|
| 379 | 379 | $targetAlias = $this->createRelationshipAlias($relationshipName); |
| 380 | 380 | |
| 381 | 381 | if ($relationshipFilters !== null) { |
@@ -402,7 +402,7 @@ discard block |
||
| 402 | 402 | string $relationshipName, |
| 403 | 403 | ?iterable $relationshipFilters, |
| 404 | 404 | ?iterable $relationshipSorts |
| 405 | - ): self { |
|
| 405 | + ) : self { |
|
| 406 | 406 | $targetAlias = $this->createRelationshipAlias($relationshipName); |
| 407 | 407 | |
| 408 | 408 | if ($relationshipFilters !== null) { |
@@ -637,7 +637,7 @@ discard block |
||
| 637 | 637 | string $targetColumn |
| 638 | 638 | ): string { |
| 639 | 639 | $targetAlias = $this->createAlias($targetTable); |
| 640 | - $joinCondition = $this->buildColumnName($fromAlias, $fromColumn) . '=' . |
|
| 640 | + $joinCondition = $this->buildColumnName($fromAlias, $fromColumn).'='. |
|
| 641 | 641 | $this->buildColumnName($targetAlias, $targetColumn); |
| 642 | 642 | |
| 643 | 643 | $this->innerJoin( |
@@ -683,7 +683,7 @@ discard block |
||
| 683 | 683 | */ |
| 684 | 684 | private function createAlias(string $tableName): string |
| 685 | 685 | { |
| 686 | - $alias = $tableName . (++$this->aliasIdCounter); |
|
| 686 | + $alias = $tableName.(++$this->aliasIdCounter); |
|
| 687 | 687 | $this->knownAliases[$tableName] = $alias; |
| 688 | 688 | |
| 689 | 689 | return $alias; |
@@ -845,7 +845,7 @@ discard block |
||
| 845 | 845 | } else { |
| 846 | 846 | assert( |
| 847 | 847 | $value !== null, |
| 848 | - 'It seems you are trying to use `null` with =, >, <, or etc operator. ' . |
|
| 848 | + 'It seems you are trying to use `null` with =, >, <, or etc operator. '. |
|
| 849 | 849 | 'Use `is null` or `not null` instead.' |
| 850 | 850 | ); |
| 851 | 851 | assert(is_string($value), "Only strings, booleans and integers are supported."); |