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

@@ 230-236 (lines=7) @@
227
         *
228
         * @return ImageSetStorage
229
         */
230
        public function getImageSet()
231
        {
232
            if (!$this->imageSet instanceof ImageSetStorage) {
233
                $this->imageSet = new ImageSetStorage($this->repository);
234
            }
235
            return $this->imageSet;
236
        }
237
238
        /**
239
         * @return ApplicationComponentsStorage