Code Duplication    Length = 7-7 lines in 2 locations

cloudcontrol/library/storage/storage/ImagesStorage.php 1 location

@@ 109-115 (lines=7) @@
106
	/**
107
	 * @return \library\storage\storage\ImageSetStorage
108
	 */
109
	private function getImageSet()
110
	{
111
		if (!$this->imageSet instanceof ImageSetStorage) {
112
			$this->imageSet = new ImageSetStorage($this->repository);
113
		}
114
		return $this->imageSet;
115
	}
116
}

cloudcontrol/library/storage/Storage.php 1 location

@@ 346-352 (lines=7) @@
343
		 *
344
		 * @return ImageSetStorage
345
		 */
346
		public function getImageSet()
347
		{
348
			if (!$this->imageSet instanceof ImageSetStorage) {
349
				$this->imageSet = new ImageSetStorage($this->repository);
350
			}
351
			return $this->imageSet;
352
		}
353
354
		/**
355
		 * @return ApplicationComponentsStorage