@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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; |