20250218#4

This commit is contained in:
User
2025-02-18 02:32:22 +03:00
parent 73b7cb3a5f
commit 612132f938
3 changed files with 27 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ abstract class AbstractEntity implements EntityInterface {
* @return mixed
*/
public function getId(): mixed {
return (isset($this->id)) ? (($this->id instanceof ValueObjectInterface) ? $this->id->get() : $this->id) : null;
return (isset($this->id)) ? (($this->id instanceof ValueObjectInterface) ? $this->id->getValue() : $this->id) : null;
}
/**