Code Duplication    Length = 1-1 lines in 2 locations

www/engine/System/Classes/Modules/Entitizer/Utils/Definition.php 2 locations

@@ 15-15 (lines=1) @@
12
13
		private function addParam(Param $param) {
14
15
			if (('' === ($name = $param->name())) || isset($this->params[$name]) || isset($this->implementors[$name])) return;
16
17
			$this->params[$name] = $param;
18
		}
@@ 75-75 (lines=1) @@
72
73
		protected function addImplementor(string $name, callable $callback) {
74
75
			if (('' === $name) || isset($this->params[$name]) || isset($this->implementors[$name])) return;
76
77
			$this->implementors[$name] = $callback;
78
		}