@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * |
7 | 7 | * @author Milkmeowo <[email protected]> |
8 | 8 | */ |
9 | -if (! function_exists('app_path')) { |
|
9 | +if (!function_exists('app_path')) { |
|
10 | 10 | /** |
11 | 11 | * Get the path to the application folder. |
12 | 12 | * |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | } |
21 | 21 | } |
22 | 22 | |
23 | -if (! function_exists('bcrypt')) { |
|
23 | +if (!function_exists('bcrypt')) { |
|
24 | 24 | /** |
25 | 25 | * Hash the given value. |
26 | 26 | * |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | } |
36 | 36 | |
37 | -if (! function_exists('smart_get_client_ip')) { |
|
37 | +if (!function_exists('smart_get_client_ip')) { |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @return array|string |
@@ -89,7 +89,7 @@ |
||
89 | 89 | */ |
90 | 90 | public function validateWithBag($errorBag, Request $request, array $rules, array $messages = [], array $customAttributes = []) |
91 | 91 | { |
92 | - $this->withErrorBag($errorBag, function () use ($request, $rules, $messages, $customAttributes) { |
|
92 | + $this->withErrorBag($errorBag, function() use ($request, $rules, $messages, $customAttributes) { |
|
93 | 93 | $this->validate($request, $rules, $messages, $customAttributes); |
94 | 94 | }); |
95 | 95 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Execute the command. |
37 | 37 | * |
38 | - * @return void |
|
38 | + * @return null|false |
|
39 | 39 | */ |
40 | 40 | public function fire() |
41 | 41 | { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | */ |
73 | 73 | public function getFillable() |
74 | 74 | { |
75 | - if (! $this->fillable) { |
|
75 | + if (!$this->fillable) { |
|
76 | 76 | return '[]'; |
77 | 77 | } |
78 | 78 | $results = '['.PHP_EOL; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | */ |
73 | 73 | public function getFillable() |
74 | 74 | { |
75 | - if (! $this->fillable) { |
|
75 | + if (!$this->fillable) { |
|
76 | 76 | return '[]'; |
77 | 77 | } |
78 | 78 | $results = '['.PHP_EOL; |