20250218#2

This commit is contained in:
User
2025-02-18 01:08:03 +03:00
parent bdff890b41
commit 4f7993750c
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ namespace Rmphp\Storage\Entity;
abstract class AbstractEntity implements EntityInterface {
/**
* @return int|null
* @return mixed
*/
public function getId(): mixed {
return (isset($this->id)) ? (($this->id instanceof ValueObjectInterface) ? $this->id->get() : $this->id) : null;

View File

@@ -11,7 +11,7 @@ namespace Rmphp\Storage\Entity;
interface EntityInterface {
/**
* @return int|null
* @return mixed
*/
public function getId(): mixed;