@@ -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; |
@@ -87,7 +87,7 @@ |
||
87 | 87 | public function registerViaConnectionMethod() |
88 | 88 | { |
89 | 89 | foreach ($this->classes as $driver => $class) { |
90 | - Connection::resolverFor($driver, function ($connection, $database, $prefix, $config) use ($class) { |
|
90 | + Connection::resolverFor($driver, function($connection, $database, $prefix, $config) use ($class) { |
|
91 | 91 | return new $class($connection, $database, $prefix, $config); |
92 | 92 | }); |
93 | 93 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | $builder = parent::getSchemaBuilder(); |
19 | 19 | |
20 | 20 | // add a blueprint resolver closure that returns the custom blueprint |
21 | - $builder->blueprintResolver(function ($table, $callback) { |
|
21 | + $builder->blueprintResolver(function($table, $callback) { |
|
22 | 22 | return new Blueprint($table, $callback); |
23 | 23 | }); |
24 | 24 |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * |
7 | 7 | * @author Milkmeowo <[email protected]> |
8 | 8 | */ |
9 | -if (! function_exists('is_lumen')) { |
|
9 | +if (!function_exists('is_lumen')) { |
|
10 | 10 | /** |
11 | 11 | * Checks whether or not the application is Lumen. |
12 | 12 | * |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | return $is_lumen; |
21 | 21 | } |
22 | 22 | } |
23 | -if (! function_exists('is_laravel')) { |
|
23 | +if (!function_exists('is_laravel')) { |
|
24 | 24 | /** |
25 | 25 | * Checks whether or not the application is Laravel. |
26 | 26 | * |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | */ |
29 | 29 | function is_laravel() |
30 | 30 | { |
31 | - return ! is_lumen(); |
|
31 | + return !is_lumen(); |
|
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
35 | -if (! function_exists('app_path')) { |
|
35 | +if (!function_exists('app_path')) { |
|
36 | 36 | /** |
37 | 37 | * Get the path to the application folder. |
38 | 38 | * |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | } |
48 | 48 | |
49 | -if (! function_exists('bcrypt')) { |
|
49 | +if (!function_exists('bcrypt')) { |
|
50 | 50 | /** |
51 | 51 | * Hash the given value. |
52 | 52 | * |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | } |
63 | 63 | |
64 | -if (! function_exists('smart_get_client_ip')) { |
|
64 | +if (!function_exists('smart_get_client_ip')) { |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * @return array|string |