Code Duplication    Length = 8-8 lines in 2 locations

src/Image/ImagePaths.php 1 location

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

src/Asset/AssetPaths.php 1 location

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