Passed
Push — main ( f1a9bd...dd9fcf )
by BRUNO
11:35
created
src/Crud.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,9 @@
 block discarded – undo
36 36
 
37 37
             $sql = "SELECT {$fields} FROM {$this->getTableName()}";
38 38
 
39
-            if (!empty($this->getTableAlias()))
40
-                $sql .= " AS {$this->getTableAlias()}";
39
+            if (!empty($this->getTableAlias())) {
40
+                            $sql .= " AS {$this->getTableAlias()}";
41
+            }
41 42
 
42 43
             $sql .= "{$add}";
43 44
 
Please login to merge, or discard this patch.