diff --git a/src/HttpblMiddleware.php b/src/HttpblMiddleware.php
index ba41e55..dfe57c6 100644
--- a/src/HttpblMiddleware.php
+++ b/src/HttpblMiddleware.php
@@ -3,6 +3,7 @@
 namespace Drupal\httpbl;
 
 use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpKernel\HttpKernelInterface;
 
 /**
@@ -53,7 +54,7 @@ class HttpblMiddleware implements HttpKernelInterface {
    *
    * Primary request handler for Httpbl.
    */
-  public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = TRUE) {
+  public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = TRUE): Response {
 
     // IMPORTANT - Don't move or remove this line.
     $defaultResponse = $this->httpKernel->handle($request, $type, $catch);
diff --git a/src/Logger/HttpblLogTrapper.php b/src/Logger/HttpblLogTrapper.php
index 364a9bb..9c7aec3 100644
--- a/src/Logger/HttpblLogTrapper.php
+++ b/src/Logger/HttpblLogTrapper.php
@@ -145,7 +145,7 @@ class HttpblLogTrapper implements HttpblLogTrapperInterface {
   /**
    * {@inheritdoc}
    */
-  public function log($level, $message, array $context = array()) {
+  public function log($level, $message, array $context = array()): void {
     // Convert PSR3-style messages to SafeMarkup::format() style, so they can be
     // translated too in runtime.
     // @todo No longer using this for the time being.  Remove once certain it is
@@ -181,6 +181,6 @@ class HttpblLogTrapper implements HttpblLogTrapperInterface {
       }
     
     $this->logger->$method($message, $context);
-   }
+  }
 
 }
\ No newline at end of file
