Code Duplication    Length = 10-10 lines in 2 locations

src/Http/Controllers/Health.php 2 locations

@@ 88-97 (lines=10) @@
85
        return response((string) view(config('health.views.panel')));
86
    }
87
88
    public function assetAppJs()
89
    {
90
        $file = File::get(config('health.assets.js'));
91
92
        $response = response()->make($file);
93
94
        $response->header('Content-Type', 'text/css');
95
96
        return $response;
97
    }
98
99
    public function assetAppCss()
100
    {
@@ 99-108 (lines=10) @@
96
        return $response;
97
    }
98
99
    public function assetAppCss()
100
    {
101
        $file = File::get(config('health.assets.css'));
102
103
        $response = response()->make($file);
104
105
        $response->header('Content-Type', 'text/css');
106
107
        return $response;
108
    }
109
110
    public function config()
111
    {