Completed
Push — master ( 30f395...1b2b07 )
by Aitor Riba
02:13
created
src/Builder/Translation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @param string $string
25 25
      */
26
-    public function __construct($string, $vars = [])
26
+    public function __construct($string, $vars = [ ])
27 27
     {
28 28
         $this->translator = config('laralang.default.translator');
29 29
         $this->debug = config('laralang.default.debug');
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         if ($this->debug === true) {
121 121
             $this->translation = "<font style='color:#00CC00;'>Translation loaded from DB</font>";
122 122
         } else {
123
-            $this->translation = ($existing[0]->translation);
123
+            $this->translation = ($existing[ 0 ]->translation);
124 124
         }
125 125
 
126 126
         return true;
Please login to merge, or discard this patch.