From ec370baa4554ee20dfc1468272e363bc6afae066 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Fri, 17 Apr 2026 11:08:04 +0500 Subject: [PATCH] fixed virtual property error --- mirzaev/minimal/system/http/request.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mirzaev/minimal/system/http/request.php b/mirzaev/minimal/system/http/request.php index b880b5f..71b427b 100755 --- a/mirzaev/minimal/system/http/request.php +++ b/mirzaev/minimal/system/http/request.php @@ -310,15 +310,15 @@ final class request public bool $smartphone { // Read get { - if (!isset($this->{__PROPERTY__})) { + if (!isset($this->smartphone)) { // The property is not initialized // Writing into the property - $this->{__PROPERTY__} = new mobile()->isMobile(); + $this->smartphone = new mobile()->isMobile(); } // Exit (success) - return $this->{__PROPERTY__}; + return $this->smartphone; } } @@ -332,15 +332,15 @@ final class request public bool $tablet { // Read get { - if (!isset($this->{__PROPERTY__})) { + if (!isset($this->tablet)) { // The property is not initialized // Writing into the property - $this->{__PROPERTY__} = new mobile()->isTablet(); + $this->tablet = new mobile()->isTablet(); } // Exit (success) - return $this->{__PROPERTY__}; + return $this->tablet; } }