Passed
Push — main ( 8cd2b3...6b394b )
by BRUNO
02:00
created
src/DatalayerTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         try {
75 75
             if (strpos($_SERVER['SERVER_NAME'], mb_strtolower(CONFIG_DATA_LAYER["homologation"])) && !strpos($this->getDatabase(), ucfirst(CONFIG_DATA_LAYER["homologation"]))) {
76
-                $database = $this->getDatabase().ucfirst(CONFIG_DATA_LAYER["homologation"] ?? "");
76
+                $database = $this->getDatabase() . ucfirst(CONFIG_DATA_LAYER["homologation"] ?? "");
77 77
                 $this->setDatabase($database);
78 78
             }
79 79
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             $prepare = empty($prepare) ? $this->getPrepare() : $prepare;
226 226
             return $prepare->rowCount();
227 227
         } catch (PDOException $e) {
228
-            $this->setError($e);}
228
+            $this->setError($e); }
229 229
     }
230 230
 
231 231
     /**
Please login to merge, or discard this patch.