Completed
Push — master ( 835fc7...d51341 )
by Julien
05:45
created
src/TournamentsServiceProvider.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
     /**
11 11
      * Bootstrap the application services.
12 12
      *
13
-     * @param Router $router
14 13
      *
15 14
      * @return void
16 15
      */
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,16 +16,16 @@
 block discarded – undo
16 16
      */
17 17
     public function boot()
18 18
     {
19
-        $viewPath = __DIR__.'/../resources/views';
19
+        $viewPath = __DIR__ . '/../resources/views';
20 20
         $this->loadViewsFrom($viewPath, 'laravel-tournaments');
21 21
 
22
-        $this->loadMigrationsFrom(__DIR__.'/../database/migrations');
23
-        $this->loadTranslationsFrom(__DIR__.'/../translations', 'laravel-tournaments');
22
+        $this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
23
+        $this->loadTranslationsFrom(__DIR__ . '/../translations', 'laravel-tournaments');
24 24
 
25
-        $this->publishes([__DIR__.'/../database/seeds' => $this->app->databasePath().'/seeds'], 'laravel-tournaments');
26
-        $this->publishes([__DIR__.'/../database/factories' => $this->app->databasePath().'/factories'], 'laravel-tournaments');
27
-        $this->publishes([__DIR__.'/../resources/assets' => public_path('vendor/laravel-tournaments')], 'laravel-tournaments');
28
-        $this->publishes([__DIR__.'/../config/laravel-tournaments.php' => config_path('laravel-tournaments.php')], 'laravel-tournaments');
25
+        $this->publishes([__DIR__ . '/../database/seeds' => $this->app->databasePath() . '/seeds'], 'laravel-tournaments');
26
+        $this->publishes([__DIR__ . '/../database/factories' => $this->app->databasePath() . '/factories'], 'laravel-tournaments');
27
+        $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/laravel-tournaments')], 'laravel-tournaments');
28
+        $this->publishes([__DIR__ . '/../config/laravel-tournaments.php' => config_path('laravel-tournaments.php')], 'laravel-tournaments');
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
database/factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-$factory->define(config('laravel-tournaments.user.model'), function (Faker\Generator $faker) {
4
+$factory->define(config('laravel-tournaments.user.model'), function(Faker\Generator $faker) {
5 5
     return [
6 6
         'name'               => $faker->name,
7 7
         'email'              => $faker->unique()->safeEmail,
Please login to merge, or discard this patch.
database/factories/CompetitorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Xoco70\LaravelTournaments\Models\Championship;
4 4
 use Xoco70\LaravelTournaments\Models\Competitor;
5 5
 
6
-$factory->define(Competitor::class, function (Faker\Generator $faker) {
6
+$factory->define(Competitor::class, function(Faker\Generator $faker) {
7 7
     $tcs = Championship::all()->pluck('id')->toArray();
8 8
     $users = config('laravel-tournaments.user.model')::all()->pluck('id')->toArray();
9 9
     $championshipId = $faker->randomElement($tcs);
Please login to merge, or discard this patch.