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

@@ 296-302 (lines=7) @@
293
		 *
294
		 * @return ImageSetStorage
295
		 */
296
		public function getImageSet()
297
		{
298
			if (!$this->imageSet instanceof ImageSetStorage) {
299
				$this->imageSet = new ImageSetStorage($this->repository);
300
			}
301
			return $this->imageSet;
302
		}
303
304
		/**
305
		 * @return ApplicationComponentsStorage