aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/EntityInterface.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-08-10 19:52:13 +0200
committerThomas Lange <code@nerdmind.de>2021-08-10 19:55:43 +0200
commita3215d365292588fc2b1e71f226cda036d0aef76 (patch)
tree6758d501cf4c30d5dd02b6561224b17fcc34fa81 /core/namespace/ORM/EntityInterface.php
parente3f05b25f961e0169185acabd32566e2ae5198fe (diff)
downloadblog-a3215d365292588fc2b1e71f226cda036d0aef76.tar.gz
blog-a3215d365292588fc2b1e71f226cda036d0aef76.tar.xz
blog-a3215d365292588fc2b1e71f226cda036d0aef76.zip
Declare "set" method of Entity class as void
Diffstat (limited to 'core/namespace/ORM/EntityInterface.php')
-rw-r--r--core/namespace/ORM/EntityInterface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/namespace/ORM/EntityInterface.php b/core/namespace/ORM/EntityInterface.php
index 68c9588..db503e7 100644
--- a/core/namespace/ORM/EntityInterface.php
+++ b/core/namespace/ORM/EntityInterface.php
@@ -3,7 +3,7 @@ namespace ORM;
interface EntityInterface {
public function get(string $attribute);
- public function set(string $attribute, $value);
+ public function set(string $attribute, $value): void;
public function getID(): int;
public function getAll(array $exclude = []): array;