@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | |
5 | -$factory->define(\CleaniqueCoders\Profile\Models\Website::class, function (Faker $faker) { |
|
5 | +$factory->define(\CleaniqueCoders\Profile\Models\Website::class, function(Faker $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'url' => $faker->url, |
8 | 8 | 'name' => $faker->name, |
@@ -22,10 +22,10 @@ discard block |
||
22 | 22 | * Configuration |
23 | 23 | */ |
24 | 24 | $this->publishes([ |
25 | - __DIR__.'/../config/profile.php' => config_path('profile.php'), |
|
25 | + __DIR__ . '/../config/profile.php' => config_path('profile.php'), |
|
26 | 26 | ], 'profile'); |
27 | 27 | $this->mergeConfigFrom( |
28 | - __DIR__.'/../config/profile.php', |
|
28 | + __DIR__ . '/../config/profile.php', |
|
29 | 29 | 'profile' |
30 | 30 | ); |
31 | 31 | |
@@ -33,14 +33,14 @@ discard block |
||
33 | 33 | * Migrations |
34 | 34 | */ |
35 | 35 | $this->publishes([ |
36 | - __DIR__.'/../stubs/database/factories' => database_path('factories/'), |
|
37 | - ], $this->package_tag.'-factories'); |
|
36 | + __DIR__ . '/../stubs/database/factories' => database_path('factories/'), |
|
37 | + ], $this->package_tag . '-factories'); |
|
38 | 38 | $this->publishes([ |
39 | - __DIR__.'/../stubs/database/migrations' => database_path('migrations/'), |
|
40 | - ], $this->package_tag.'-migrations'); |
|
39 | + __DIR__ . '/../stubs/database/migrations' => database_path('migrations/'), |
|
40 | + ], $this->package_tag . '-migrations'); |
|
41 | 41 | $this->publishes([ |
42 | - __DIR__.'/../database/Seeders' => database_path('seeders/'), |
|
43 | - ], $this->package_tag.'-seeds'); |
|
42 | + __DIR__ . '/../database/Seeders' => database_path('seeders/'), |
|
43 | + ], $this->package_tag . '-seeds'); |
|
44 | 44 | |
45 | 45 | /* |
46 | 46 | * Commands |
@@ -36,8 +36,8 @@ |
||
36 | 36 | public function handle() |
37 | 37 | { |
38 | 38 | foreach (config('profile.seeders') as $seeder) { |
39 | - if (! class_exists($seeder)) { |
|
40 | - $this->comment($seeder.' does not exists'); |
|
39 | + if (!class_exists($seeder)) { |
|
40 | + $this->comment($seeder . ' does not exists'); |
|
41 | 41 | |
42 | 42 | continue; |
43 | 43 | } |