@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | public static function reference($table, $tableAlias) |
10 | 10 | { |
11 | - if ( ! $tableAlias || $table == $tableAlias) { |
|
11 | + if (!$tableAlias || $table == $tableAlias) { |
|
12 | 12 | return $table; |
13 | 13 | } |
14 | 14 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | public function bool($value) |
37 | 37 | { |
38 | - return ! ! $value; |
|
38 | + return !!$value; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | public function int($value) |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | public static function getInstance() |
18 | 18 | { |
19 | - if ( ! static::$instance) { |
|
19 | + if (!static::$instance) { |
|
20 | 20 | static::$instance = new static; |
21 | 21 | } |
22 | 22 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | protected function getQueryClass(Mapper $mapper) |
34 | 34 | { |
35 | 35 | $mapperClass = get_class($mapper); |
36 | - if ( ! isset($this->queryClasses[$mapperClass])) { |
|
36 | + if (!isset($this->queryClasses[$mapperClass])) { |
|
37 | 37 | $queryClass = $mapperClass . 'Query'; |
38 | 38 | if (class_exists($queryClass)) { |
39 | 39 | $this->queryClasses[$mapperClass] = $queryClass; |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** @var ArrayCollection $changeCollection */ |
78 | 78 | $changeCollection = $this->changes[$t]; |
79 | 79 | if ($t == $type) { |
80 | - if (! $changeCollection->contains($element)) { |
|
80 | + if (!$changeCollection->contains($element)) { |
|
81 | 81 | $changeCollection->add($element); |
82 | 82 | } |
83 | 83 | } else { |