summaryrefslogtreecommitdiff
path: root/localwebsite
diff options
context:
space:
mode:
Diffstat (limited to 'localwebsite')
-rw-r--r--localwebsite/classes/E3372.php9
-rw-r--r--localwebsite/classes/MyOpenWrtUtils.php2
2 files changed, 4 insertions, 7 deletions
diff --git a/localwebsite/classes/E3372.php b/localwebsite/classes/E3372.php
index 4c2f27a..a3ce80c 100644
--- a/localwebsite/classes/E3372.php
+++ b/localwebsite/classes/E3372.php
@@ -93,11 +93,10 @@ class E3372
const ERROR_WRONG_SESSION = 125002;
const ERROR_WRONG_SESSION_TOKEN = 125003;
-
- private $host;
- private $headers = [];
- private $authorized = false;
- private $useLegacyTokenAuth = false;
+ private string $host;
+ private array $headers = [];
+ private bool $authorized = false;
+ private bool $useLegacyTokenAuth = false;
public function __construct(string $host, bool $legacy_token_auth = false) {
$this->host = $host;
diff --git a/localwebsite/classes/MyOpenWrtUtils.php b/localwebsite/classes/MyOpenWrtUtils.php
index ea467db..6bdfec2 100644
--- a/localwebsite/classes/MyOpenWrtUtils.php
+++ b/localwebsite/classes/MyOpenWrtUtils.php
@@ -96,8 +96,6 @@ class MyOpenWrtUtils {
$url .= $arguments;
}
- // debugLog($url);
-
return $url;
}