Passed
Branch master (4e0852)
by Adrian
02:43
created
src/Helpers/QueryHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/CastingManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Collection/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.