2
0
mirror of https://github.com/opencultureconsulting/php-basics.git synced 2025-04-13 00:00:47 +02:00

Add missing return type declaration

This commit is contained in:
Sebastian Meyer 2023-09-29 19:27:16 +02:00
parent 68d9c6fa3f
commit 00d6e24f31

View File

@ -63,7 +63,7 @@ trait Getter
* *
* @return bool * @return bool
*/ */
final public function __isset(string $property) final public function __isset(string $property): bool
{ {
return !empty($this->__get($property)); return !empty($this->__get($property));
} }