Passed
Push — master ( 21261a...03f6df )
by Andres
02:55
created
src/JSLocalizationServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@  discard block
 block discarded – undo
20 20
 
21 21
         Blade::directive('jslocalization', function($expression) {
22 22
             $auxExpression = explode(',', str_replace(['(', ')', ' ', '"', "'"], '', $expression));
23
-            if (count($auxExpression) > 2) {
23
+            if (count($auxExpression)>2) {
24 24
                 $langfile = $auxExpression[0];
25 25
                 $group = $auxExpression[1];
26 26
                 $basevar = $auxExpression[2];
27
-            } elseif (count($auxExpression) > 1) {
27
+            } elseif (count($auxExpression)>1) {
28 28
                 $langfile = $auxExpression[0];
29 29
                 $group = $auxExpression[1];
30 30
                 $basevar = "";
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         Blade::directive('jsmodel', function($expression) {
40 40
             $auxExpression = explode(',', str_replace([' ', '"', "'"], '', $expression));
41 41
             //echo "<pre>" . print_r($auxExpression, true) . "</pre>";
42
-            if (count($auxExpression) > 1) {
42
+            if (count($auxExpression)>1) {
43 43
                 if ($auxExpression[0] == 'Auth::user()') {
44 44
                     $model = \Auth::user();
45 45
                 } else {
Please login to merge, or discard this patch.