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

@@ 62-62 (lines=1) @@
59
60
		public function check(string $name, $value) {
61
62
			if ((false === ($param = $this->definition->get($name))) || !$param->unique()) return false;
63
64
			# Select entity from DB
65