From 1db989d7c820a574215e28fe0b313b56180830c0 Mon Sep 17 00:00:00 2001 From: tracer Date: Sat, 13 Jul 2024 16:34:27 +0200 Subject: [PATCH] adaptet to KH v24.1 api changes --- src/Entity/KeyHelp/Security.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Entity/KeyHelp/Security.php b/src/Entity/KeyHelp/Security.php index aa3c773..c1d25f3 100644 --- a/src/Entity/KeyHelp/Security.php +++ b/src/Entity/KeyHelp/Security.php @@ -15,6 +15,19 @@ class Security private bool $hstsInclude; private bool $hstsPreload; + private bool $isPreferHttps; + + public function isPreferHttps(): bool + { + return $this->isPreferHttps; + } + + public function setIsPreferHttps(bool $isPreferHttps): void + { + $this->isPreferHttps = $isPreferHttps; + } + + /** * @return int */