Passed
Push — master ( b69416...641e69 )
by Vasyl
02:28
created
src/helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('var_all')) {
3
+if (!function_exists('var_all')) {
4 4
     function var_all($locale = null)
5 5
     {
6 6
         return app(\Fomvasss\Variable\VariableManagerContract::class)->locale($locale)->all();
7 7
     }
8 8
 }
9 9
 
10
-if (! function_exists('var_get')) {
10
+if (!function_exists('var_get')) {
11 11
     function var_get($name, $default = null, $locale = null)
12 12
     {
13 13
         return app(\Fomvasss\Variable\VariableManagerContract::class)->locale($locale)->first($name, $default);
14 14
     }
15 15
 }
16 16
 
17
-if (! function_exists('var_set')) {
17
+if (!function_exists('var_set')) {
18 18
     function var_set($name, $value = null, $locale = null)
19 19
     {
20 20
         return app(\Fomvasss\Variable\VariableManagerContract::class)->locale($locale)->set($name, $value, $locale);
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
 }
23 23
 
24 24
 
25
-if (! function_exists('var_delete')) {
25
+if (!function_exists('var_delete')) {
26 26
     function var_delete($name, $locale = null)
27 27
     {
28 28
         return app(\Fomvasss\Variable\VariableManagerContract::class)->locale($locale)->delete($name, $locale);
29 29
     }
30 30
 }
31 31
 
32
-if (! function_exists('var_set_array')) {
32
+if (!function_exists('var_set_array')) {
33 33
     function var_set_array(array $attributes, $locale = null)
34 34
     {
35 35
         return app(\Fomvasss\Variable\VariableManagerContract::class)->locale($locale)->setArray($attributes);
Please login to merge, or discard this patch.
src/Commands/GetVariable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
         $variableMng = app(\Fomvasss\Variable\VariableManagerContract::class);
23 23
 
24 24
         $variable = $variableMng->locale($this->argument('locale'))->first($this->argument('name'), '');
25
-        print_r($variable . "\n");
25
+        print_r($variable."\n");
26 26
     }
27 27
 }
Please login to merge, or discard this patch.