Closed aeno closed 1 year ago
Was the :static part not part of this feature? By including it into the main package you cannot use that anymore? (Because the main package has to be compatible with older PHP-versions). Thoughts?
The static return type is only supported since PHP 8, so it would break compatibility with older PHP versions. I guess this was not noticed until now, because the class TypedModel was not included in the distribution rb.php yet.
That is why I kept it out of replica, you can add it at will manually.
\RedBeanPHP\TypedModel was missing in generated rb.php file