Code Duplication    Length = 9-9 lines in 2 locations

src/Customer/Helper.php 1 location

@@ 67-75 (lines=9) @@
64
     */
65
    protected $helper;
66
67
    public function __construct(ServiceManager $serviceManager)
68
    {
69
        $this->serviceManager = $serviceManager;
70
        $this->config = $serviceManager->get('config');
71
        $this->core = $this->config->getCore();
72
        $this->countries = $this->config->getCountries();
73
        $this->shop = $this->config->getShop();
74
        $this->helper = $this->serviceManager->get('helper');
75
    }
76
77
    /**
78
     * @param string $sLang

src/Helper.php 1 location

@@ 66-74 (lines=9) @@
63
     * Helper constructor.
64
     * @param ServiceManager $serviceManager
65
     */
66
    public function __construct(ServiceManager $serviceManager)
67
    {
68
        $this->serviceManager = $serviceManager;
69
        $this->config = $serviceManager->get('config');
70
        $this->secrets = $this->config->getSecret();
71
        $this->core = $this->config->getCore();
72
        $this->shop = $this->config->getShop();
73
        $this->helperShop = $serviceManager->get('helpershop');
74
    }
75
76
    /**
77
     * @param string $target