From a3215d365292588fc2b1e71f226cda036d0aef76 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 10 Aug 2021 19:52:13 +0200 Subject: Declare "set" method of Entity class as void --- core/namespace/ORM/EntityInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/ORM/EntityInterface.php') 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; -- cgit v1.2.3