From cfc9c721ff497b79ee5506091b46d92fab21d37d Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 29 Sep 2023 17:34:30 +0300 Subject: [PATCH] fix variable names --- src/app/model/request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/model/request.php b/src/app/model/request.php index cf09450..e6697fa 100644 --- a/src/app/model/request.php +++ b/src/app/model/request.php @@ -94,11 +94,11 @@ class AppModelRequest { public function hasGet() : bool { - return !empty($this->_post); + return !empty($this->_get); } public function hasFiles() : bool { - return !empty($this->_post); + return !empty($this->_files); } }