Code Duplication    Length = 15-15 lines in 2 locations

src/Console/PublishAdminLTE.php 1 location

@@ 58-72 (lines=15) @@
55
    /**
56
     * Execute the console command.
57
     */
58
    public function handle()
59
    {
60
        $this->processOptions();
61
        $this->publishHomeController();
62
        $this->changeRegisterController();
63
        $this->changeLoginController();
64
        $this->changeForgotPasswordController();
65
        $this->changeResetPasswordController();
66
        $this->publishPublicAssets();
67
        $this->publishViews();
68
        $this->publishResourceAssets();
69
        $this->publishTests();
70
        $this->publishLanguages();
71
        $this->publishGravatar();
72
    }
73
74
    /**
75
     * Install Home Controller.

src/Providers/AdminLTETemplateServiceProvider.php 1 location

@@ 47-61 (lines=15) @@
44
    /**
45
     * Bootstrap the application services.
46
     */
47
    public function boot()
48
    {
49
        $this->defineRoutes();
50
        $this->publishHomeController();
51
        $this->changeRegisterController();
52
        $this->changeLoginController();
53
        $this->changeForgotPasswordController();
54
        $this->changeResetPasswordController();
55
        $this->publishPublicAssets();
56
        $this->publishViews();
57
        $this->publishResourceAssets();
58
        $this->publishTests();
59
        $this->publishLanguages();
60
        $this->publishGravatar();
61
    }
62
63
    /**
64
     * Define the AdminLTETemplate routes.