Passed
Push — main ( 7594ad...6b4027 )
by BRUNO
07:34
created
src/Crud.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function select(string $fields = '*', string $add = '', array $values = null, bool $returnModel = false, bool $debug = false)
30 30
     {
31
-        if (strlen($add) > 0) {
31
+        if (strlen($add)>0) {
32 32
             $add = ' ' . $add;
33 33
         }
34 34
         $sql = "SELECT {$fields} FROM {$this->tableName}{$add}";
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      */
261 261
     public function getLogSQL(): ?string
262 262
     {
263
-        return $this->logSQL??"";
263
+        return $this->logSQL ?? "";
264 264
     }
265 265
 
266 266
 }
Please login to merge, or discard this patch.