Code Duplication    Length = 7-10 lines in 6 locations

src/repository/SegmentRepository.php 1 location

@@ 47-53 (lines=7) @@
44
     * @param ClientInterface $client
45
     * @param Cache|null      $cache
46
     */
47
    public function __construct(ClientInterface $client, Cache $cache = null)
48
    {
49
        $this->client = $client;
50
        $this->cache = $cache;
51
        $this->cacheEnabled = $cache instanceof Cache;
52
        $this->baseUrl = self::BASE_URL;
53
    }
54
55
    /**
56
     * @return string

src/service/UserUpload.php 1 location

@@ 53-59 (lines=7) @@
50
     * @param ClientInterface $client
51
     * @param Cache|null      $cache
52
     */
53
    public function __construct(ClientInterface $client, Cache $cache = null)
54
    {
55
        $this->client = $client;
56
        $this->cache = $cache;
57
        $this->cacheEnabled = $cache instanceof Cache;
58
        $this->baseUrl = self::BASE_URL;
59
    }
60
61
    /**
62
     * @return string

src/service/Report.php 1 location

@@ 129-138 (lines=10) @@
126
     * @param ClientInterface $client
127
     * @param Cache|null $cache
128
     */
129
    public function __construct(ClientInterface $client, Cache $cache = null)
130
    {
131
        $this->client = $client;
132
        $this->cache = $cache;
133
        $this->cacheEnabled = $cache instanceof Cache;
134
135
        $this->baseUrl = self::BASE_URL;
136
        $this->baseUrlDownload = self::BASE_URL_DOWNLOAD;
137
    }
138
139
    /**
140
     * @return string
141
     */

src/repository/CategoryRepository.php 1 location

@@ 47-53 (lines=7) @@
44
     * @param ClientInterface $client
45
     * @param Cache|null $cache
46
     */
47
    public function __construct(ClientInterface $client, Cache $cache = null)
48
    {
49
        $this->client       = $client;
50
        $this->cache        = $cache;
51
        $this->cacheEnabled = $cache instanceof Cache;
52
        $this->baseUrl      = self::BASE_URL;
53
    }
54
55
    /**
56
     * @return string

src/repository/SegmentBillingRepository.php 1 location

@@ 46-52 (lines=7) @@
43
     * @param ClientInterface $client
44
     * @param Cache|null      $cache
45
     */
46
    public function __construct(ClientInterface $client, Cache $cache = null)
47
    {
48
        $this->client = $client;
49
        $this->cache = $cache;
50
        $this->cacheEnabled = $cache instanceof Cache;
51
        $this->baseUrl = self::BASE_URL;
52
    }
53
54
    /**
55
     * @return string

src/repository/MemberDataSharingRepository.php 1 location

@@ 47-53 (lines=7) @@
44
     * @param ClientInterface $client
45
     * @param Cache|null $cache
46
     */
47
    public function __construct(ClientInterface $client, Cache $cache = null)
48
    {
49
        $this->client       = $client;
50
        $this->cache        = $cache;
51
        $this->cacheEnabled = $cache instanceof Cache;
52
        $this->baseUrl      = self::BASE_URL;
53
    }
54
55
    /**
56
     * @return string