Test Failed
Push — master ( c5e337...21ff64 )
by
unknown
01:41
created
src/FrontQL/Adapter/Select/SelectAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function getProtectedColumns()
54 54
     {
55
-        if(is_null($this->protectedColumns))
55
+        if (is_null($this->protectedColumns))
56 56
             $this->protectedColumns = [];
57 57
 
58 58
         return $this->protectedColumns;
@@ -80,18 +80,18 @@  discard block
 block discarded – undo
80 80
         // Adapta o payload ao padrão do zend
81 81
         $select = new Select();
82 82
 
83
-        if(!is_null($this->getSelectPayload()->getOrder()))
83
+        if (!is_null($this->getSelectPayload()->getOrder()))
84 84
             $select->order($this->getSelectPayload()->getOrder());
85 85
 
86 86
         $select->columns($columns);
87 87
         $select->where($this->getSelectPayload()->getWhere());
88 88
         
89 89
         $limit = $this->getSelectPayload()->getLimit();
90
-        if(!empty($limit))
90
+        if (!empty($limit))
91 91
           $select->limit($this->getSelectPayload()->getLimit());
92 92
         
93 93
         $offset = $this->getSelectPayload()->getOffset();
94
-        if(!empty($offset))
94
+        if (!empty($offset))
95 95
            $select->offset($this->getSelectPayload()->getOffset());
96 96
 
97 97
         return $select;
Please login to merge, or discard this patch.