Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -43,7 +43,7 @@ trait Singleton {
* @since 2.0.0
* @return void
*/
public function init() {
public function init(): void {
$this->has_parents() && method_exists(get_parent_class($this), 'init') && parent::init();
}