Code Duplication    Length = 1-1 lines in 2 locations

www/engine/System/Classes/Modules/Entitizer/Utils/Entity/Action/Init.php 1 location

@@ 21-21 (lines=1) @@
18
19
			if ($name === 'id') $param = $this->definition->id();
20
21
			else if ((false === ($param = $this->definition->get($name))) || !$param->unique()) return false;
22
23
			# Select entity from DB
24

www/engine/System/Classes/Modules/Entitizer/Utils/Entity/Entity.php 1 location

@@ 83-83 (lines=1) @@
80
81
		public function check(string $name, $value) {
82
83
			if ((false === ($param = $this->definition->get($name))) || !$param->unique()) return false;
84
85
			# Select entity from DB
86