@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | $newFactoriesPath = '/app/Ship/Engine/Loaders/FactoryMixer'; |
24 | 24 | |
25 | - App::singleton(Factory::class, function ($app) use ($newFactoriesPath) { |
|
25 | + App::singleton(Factory::class, function($app) use ($newFactoriesPath) { |
|
26 | 26 | $faker = $app->make(Generator::class); |
27 | 27 | |
28 | 28 | return Factory::construct($faker, base_path() . $newFactoriesPath); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function extendValidationRules() |
19 | 19 | { |
20 | - Validator::extend('no_spaces', function ($attr, $value) { |
|
20 | + Validator::extend('no_spaces', function($attr, $value) { |
|
21 | 21 | return preg_match('/^\S*$/u', $value); |
22 | 22 | }, ['String should not contain space.']); |
23 | 23 | } |