Code Duplication    Length = 8-8 lines in 5 locations

Console/Installers/Scripts/UserProviders/SentinelInstaller.php 2 locations

@@ 34-41 (lines=8) @@
31
    /**
32
     * @return mixed
33
     */
34
    public function publish()
35
    {
36
        if ($this->command->option('verbose')) {
37
            return $this->command->call('vendor:publish', ['--provider' => 'Cartalyst\Sentinel\Laravel\SentinelServiceProvider']);
38
        }
39
40
        return $this->command->callSilent('vendor:publish', ['--provider' => 'Cartalyst\Sentinel\Laravel\SentinelServiceProvider']);
41
    }
42
43
    /**
44
     * @return mixed
@@ 73-80 (lines=8) @@
70
    /**
71
     * @return mixed
72
     */
73
    public function seed()
74
    {
75
        if ($this->command->option('verbose')) {
76
            return $this->command->call('db:seed', ['--class' => 'Modules\User\Database\Seeders\SentinelGroupSeedTableSeeder']);
77
        }
78
79
        return $this->command->callSilent('db:seed', ['--class' => 'Modules\User\Database\Seeders\SentinelGroupSeedTableSeeder']);
80
    }
81
82
    /**
83
     * @param $password

Console/Installers/Scripts/UserProviders/SentryInstaller.php 2 locations

@@ 33-40 (lines=8) @@
30
    /**
31
     * @return mixed
32
     */
33
    public function publish()
34
    {
35
        if ($this->command->option('verbose')) {
36
            return $this->command->call('vendor:publish', ['--provider' => 'Cartalyst\Sentry\SentryServiceProvider']);
37
        }
38
39
        return $this->command->callSilent('vendor:publish', ['--provider' => 'Cartalyst\Sentry\SentryServiceProvider']);
40
    }
41
42
    /**
43
     * @return mixed
@@ 70-77 (lines=8) @@
67
    /**
68
     * @return mixed
69
     */
70
    public function seed()
71
    {
72
        if ($this->command->option('verbose')) {
73
            return $this->command->call('db:seed', ['--class' => 'Modules\User\Database\Seeders\SentryGroupSeedTableSeeder']);
74
        }
75
76
        return $this->command->callSilent('db:seed', ['--class' => 'Modules\User\Database\Seeders\SentryGroupSeedTableSeeder']);
77
    }
78
79
    /**
80
     * @param $password

Console/Installers/Scripts/UserProviders/UsherInstaller.php 1 location

@@ 91-98 (lines=8) @@
88
    /**
89
     * @return mixed
90
     */
91
    public function seed()
92
    {
93
        if ($this->command->option('verbose')) {
94
            return $this->command->call('db:seed', ['--class' => 'Modules\User\Database\Seeders\UsherTableSeeder']);
95
        }
96
97
        return $this->command->callSilent('db:seed', ['--class' => 'Modules\User\Database\Seeders\UsherTableSeeder']);
98
    }
99
100
    /**
101
     * @param $password