@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -30,9 +30,9 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) |
| 32 | 32 | { |
| 33 | - return 'ABS(' . $sqlWalker->walkSimpleArithmeticExpression( |
|
| 33 | + return 'ABS('.$sqlWalker->walkSimpleArithmeticExpression( |
|
| 34 | 34 | $this->simpleArithmeticExpression |
| 35 | - ) . ')'; |
|
| 35 | + ).')'; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $targetTableAlias = $sqlWalker->getSQLTableAlias($targetClass->getTableName()); |
| 51 | 51 | $sourceTableAlias = $sqlWalker->getSQLTableAlias($class->getTableName(), $dqlAlias); |
| 52 | 52 | |
| 53 | - $sql .= $targetTableName . ' ' . $targetTableAlias . ' WHERE '; |
|
| 53 | + $sql .= $targetTableName.' '.$targetTableAlias.' WHERE '; |
|
| 54 | 54 | |
| 55 | 55 | $owningAssociation = $targetClass->getProperty($association->getMappedBy()); |
| 56 | 56 | $first = true; |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | // join to target table |
| 82 | - $sql .= $joinTableName . ' ' . $joinTableAlias . ' WHERE '; |
|
| 82 | + $sql .= $joinTableName.' '.$joinTableAlias.' WHERE '; |
|
| 83 | 83 | |
| 84 | 84 | $joinColumns = $association->isOwningSide() |
| 85 | 85 | ? $joinTable->getJoinColumns() |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | } |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | - return '(' . $sql . ')'; |
|
| 103 | + return '('.$sql.')'; |
|
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\ORM\Query\AST\Functions; |
| 6 | 6 | |