diff --git a/src/Middleware/ForceHttps.php b/src/Middleware/ForceHttps.php index dc32bb6..4535983 100644 --- a/src/Middleware/ForceHttps.php +++ b/src/Middleware/ForceHttps.php @@ -21,7 +21,6 @@ class ForceHttps implements MiddlewareInterface */ public function __construct(private array $config, private RouterInterface $router) { - $this->config = $config; } private function setHttpStrictTransportSecurity( diff --git a/src/Module.php b/src/Module.php index f81a19d..1896e71 100644 --- a/src/Module.php +++ b/src/Module.php @@ -11,6 +11,6 @@ class Module */ public function getConfig(): array { - return include __DIR__ . './../config/module.config.php'; + return include __DIR__ . '/../config/module.config.php'; } }