Code Duplication    Length = 16-17 lines in 2 locations

src/Console/PublishAdminLTE.php 1 location

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

src/Providers/AdminLTETemplateServiceProvider.php 1 location

@@ 76-92 (lines=17) @@
73
    /**
74
     * Bootstrap the application services.
75
     */
76
    public function boot()
77
    {
78
        $this->defineRoutes();
79
        $this->publishHomeController();
80
        $this->changeRegisterController();
81
        $this->changeLoginController();
82
        $this->changeForgotPasswordController();
83
        $this->changeResetPasswordController();
84
        $this->publishPublicAssets();
85
        $this->publishViews();
86
        $this->publishResourceAssets();
87
        $this->publishTests();
88
        $this->publishLanguages();
89
        $this->publishGravatar();
90
        $this->publishConfig();
91
        $this->enableSpatieMenu();
92
    }
93
94
    /**
95
     * Define the AdminLTETemplate routes.