Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 117-123 (lines=7) @@
114
		$this->save();
115
	}
116
117
	private function getBricks()
118
	{
119
		if (!$this->bricks instanceof BricksStorage) {
120
			$this->bricks = new BricksStorage($this->repository);
121
		}
122
		return $this->bricks;
123
	}
124
}

cloudcontrol/library/storage/Storage.php 1 location

@@ 264-270 (lines=7) @@
261
		/**
262
		 * @return BricksStorage
263
		 */
264
		public function getBricks()
265
		{
266
			if (!$this->bricks instanceof BricksStorage) {
267
				$this->bricks = new BricksStorage($this->repository);
268
			}
269
			return $this->bricks;
270
		}
271
272
		/**
273
		 * Get the image set