Completed
Push — master ( b8ae50...5a01e4 )
by Surajudeen
155:11
created
src/DB/DBConnect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      */
87 87
     public function loadDotenv()
88 88
     {
89
-        $dotEnv = new Dotenv(__DIR__.'/../..');
89
+        $dotEnv = new Dotenv(__DIR__ . '/../..');
90 90
         $dotEnv->load();
91 91
     }
92 92
 }
Please login to merge, or discard this patch.
src/Libraries/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         while ($token) {
51 51
             $token = strtok($delimiter);
52
-            $output .= ',' .$token;
52
+            $output .= ',' . $token;
53 53
         }
54 54
 
55 55
         return rtrim($output, ',');
Please login to merge, or discard this patch.
src/Libraries/TableMapper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
             }
37 37
         } catch (PDOException $e) {
38 38
             return $e->getMessage();
39
-        }
40
-        finally {
39
+        } finally {
41 40
             $dbConnect = null;
42 41
         }
43 42
     }
Please login to merge, or discard this patch.
src/Potato.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -104,8 +104,7 @@  discard block
 block discarded – undo
104 104
             }
105 105
         } catch (RecordNotFoundException $e) {
106 106
             return $e->message();
107
-        }
108
-        finally {
107
+        } finally {
109 108
             $dbConnect = null;
110 109
         }
111 110
     }
@@ -129,8 +128,7 @@  discard block
 block discarded – undo
129 128
             }
130 129
         } catch (PDOException $e) {
131 130
             return $e->getMessage();
132
-        }
133
-        finally {
131
+        } finally {
134 132
             $dbConn = null;
135 133
         }
136 134
     }
@@ -158,8 +156,7 @@  discard block
 block discarded – undo
158 156
             return $e->getMessage();
159 157
         } catch (RecordNotFoundException $e) {
160 158
             return $e->message();
161
-        }
162
-        finally {
159
+        } finally {
163 160
             $dbConn = null;
164 161
         }
165 162
 
@@ -186,8 +183,7 @@  discard block
 block discarded – undo
186 183
             }
187 184
         } catch (PDOException $e) {
188 185
             echo $e->getMessage();
189
-        }
190
-        finally {
186
+        } finally {
191 187
             $dbConn = null;
192 188
         }
193 189
     }
Please login to merge, or discard this patch.