Code Duplication    Length = 7-7 lines in 2 locations

src/storage/Storage.php 1 location

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

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