20250218#2
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Rmphp\Storage\Entity;
|
|||||||
abstract class AbstractEntity implements EntityInterface {
|
abstract class AbstractEntity implements EntityInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int|null
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function getId(): 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->get() : $this->id) : null;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Rmphp\Storage\Entity;
|
|||||||
interface EntityInterface {
|
interface EntityInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int|null
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function getId(): mixed;
|
public function getId(): mixed;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user