Passed
Push — master ( 3dcf49...367033 )
by Ruben
02:36
created
src/Persistence.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
                 print("-->()");
42 42
                 return $pdo;
43 43
             } catch (Exception $e) {                
44
-                if ($config->getUseOnMemoryDB() !== true) {
44
+                if ($config->getUseOnMemoryDB()!==true) {
45 45
                     throw new Exception("Could not create a db connection. Check permissions, configuration, and documentation. ".$e->getMessage());
46 46
                 }
47 47
             }
48 48
         }
49 49
             
50
-        if ($config->getUseOnMemoryDB() === true) {
50
+        if ($config->getUseOnMemoryDB()===true) {
51 51
             try {
52 52
                 return new PDO("sqlite::memory:", null, null, $options);
53 53
             } catch (Exception $e) {
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
      * @param $config Configuration
250 250
      *
251 251
      */
252
-    public static function findIdByTimeUser($pdo, $config, $by=[]) {
252
+    public static function findIdByTimeUser($pdo, $config, $by = []) {
253 253
         return OptionsDAO::findIdByTimeUser($pdo, $config, $by);
254 254
     }
255 255
     
Please login to merge, or discard this patch.