20250218#2

This commit is contained in:
User committed 2025-02-18 01:08:03 +03:00
1 parent bdff890b41
commit 4f7993750c
2 files changed
+2 -2

No files matched your search

+1 -1
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;
+1 -1
View File
@@ -11,7 +11,7 @@ namespace Rmphp\Storage\Entity;
interface EntityInterface {
/**
* @return int|null
* @return mixed
*/
public function getId(): mixed;