Code Duplication    Length = 8-8 lines in 2 locations

src/Asset/AssetPaths.php 1 location

@@ 51-58 (lines=8) @@
48
     * @param Repository $config
49
     * @param Request    $request
50
     */
51
    public function __construct(Repository $config, Request $request, Application $application)
52
    {
53
        $this->config      = $config;
54
        $this->request     = $request;
55
        $this->application = $application;
56
57
        $this->paths = $config->get('streams::assets.paths', []);
58
    }
59
60
    /**
61
     * Get the paths.

src/Image/ImagePaths.php 1 location

@@ 53-60 (lines=8) @@
50
     * @param Request     $request
51
     * @param Application $application
52
     */
53
    public function __construct(Repository $config, Request $request, Application $application)
54
    {
55
        $this->config      = $config;
56
        $this->request     = $request;
57
        $this->application = $application;
58
59
        $this->paths = $config->get('streams::images.paths', []);
60
    }
61
62
    /**
63
     * Get the paths.