@@ -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; |
| 6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | public function startProduction($name) |
| 52 | 52 | { |
| 53 | - $this->println('(' . $name); |
|
| 53 | + $this->println('('.$name); |
|
| 54 | 54 | $this->indent++; |
| 55 | 55 | } |
| 56 | 56 | |
@@ -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; |
| 6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * A filter object is in CLEAN state when it has no changed parameters. |
| 20 | 20 | */ |
| 21 | - const FILTERS_STATE_CLEAN = 1; |
|
| 21 | + const FILTERS_STATE_CLEAN = 1; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * A filter object is in DIRTY state when it has changed parameters. |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | public function enable($name) |
| 90 | 90 | { |
| 91 | 91 | if ( ! $this->has($name)) { |
| 92 | - throw new \InvalidArgumentException("Filter '" . $name . "' does not exist."); |
|
| 92 | + throw new \InvalidArgumentException("Filter '".$name."' does not exist."); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | if ( ! $this->isEnabled($name)) { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | public function getFilter($name) |
| 142 | 142 | { |
| 143 | 143 | if ( ! $this->isEnabled($name)) { |
| 144 | - throw new \InvalidArgumentException("Filter '" . $name . "' is not enabled."); |
|
| 144 | + throw new \InvalidArgumentException("Filter '".$name."' is not enabled."); |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | return $this->enabledFilters[$name]; |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | $filterHash = ''; |
| 195 | 195 | |
| 196 | 196 | foreach ($this->enabledFilters as $name => $filter) { |
| 197 | - $filterHash .= $name . $filter; |
|
| 197 | + $filterHash .= $name.$filter; |
|
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | return $filterHash; |
@@ -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\Filter; |
| 6 | 6 | |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | final public function getParameter($name) |
| 87 | 87 | { |
| 88 | - if (!isset($this->parameters[$name])) { |
|
| 89 | - throw new \InvalidArgumentException("Parameter '" . $name . "' does not exist."); |
|
| 88 | + if ( ! isset($this->parameters[$name])) { |
|
| 89 | + throw new \InvalidArgumentException("Parameter '".$name."' does not exist."); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | return $this->em->getConnection()->quote($this->parameters[$name]['value'], $this->parameters[$name]['type']); |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | */ |
| 102 | 102 | final public function hasParameter($name) |
| 103 | 103 | { |
| 104 | - if (!isset($this->parameters[$name])) { |
|
| 104 | + if ( ! isset($this->parameters[$name])) { |
|
| 105 | 105 | return false; |
| 106 | 106 | } |
| 107 | 107 | |
@@ -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; |
| 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\Expr; |
| 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\Expr; |
| 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\Expr; |
| 6 | 6 | |
@@ -80,6 +80,6 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | public function __toString() |
| 82 | 82 | { |
| 83 | - return $this->leftExpr . ' ' . $this->operator . ' ' . $this->rightExpr; |
|
| 83 | + return $this->leftExpr.' '.$this->operator.' '.$this->rightExpr; |
|
| 84 | 84 | } |
| 85 | 85 | } |
@@ -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\Expr; |
| 6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * @var string |
| 20 | 20 | */ |
| 21 | - protected $preSeparator = ''; |
|
| 21 | + protected $preSeparator = ''; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * @var string |
@@ -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\Expr; |
| 6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * @var string |
| 20 | 20 | */ |
| 21 | - protected $preSeparator = ''; |
|
| 21 | + protected $preSeparator = ''; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * @var string |