Code Duplication    Length = 7-7 lines in 2 locations

src/storage/storage/ImagesStorage.php 1 location

@@ 125-131 (lines=7) @@
122
    /**
123
     * @return \CloudControl\Cms\storage\storage\ImageSetStorage
124
     */
125
    private function getImageSet()
126
    {
127
        if (!$this->imageSet instanceof ImageSetStorage) {
128
            $this->imageSet = new ImageSetStorage($this->repository);
129
        }
130
        return $this->imageSet;
131
    }
132
133
    /**
134
     * @return bool|string

src/storage/Storage.php 1 location

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