Code Duplication    Length = 7-7 lines in 2 locations

src/storage/storage/ImagesStorage.php 1 location

@@ 118-124 (lines=7) @@
115
    /**
116
     * @return \CloudControl\Cms\storage\storage\ImageSetStorage
117
     */
118
    private function getImageSet()
119
    {
120
        if (!$this->imageSet instanceof ImageSetStorage) {
121
            $this->imageSet = new ImageSetStorage($this->repository);
122
        }
123
        return $this->imageSet;
124
    }
125
126
    /**
127
     * @return bool|string

src/storage/Storage.php 1 location

@@ 303-309 (lines=7) @@
300
         *
301
         * @return ImageSetStorage
302
         */
303
        public function getImageSet()
304
        {
305
            if (!$this->imageSet instanceof ImageSetStorage) {
306
                $this->imageSet = new ImageSetStorage($this->repository);
307
            }
308
            return $this->imageSet;
309
        }
310
311
        /**
312
         * @return ApplicationComponentsStorage