diff --git a/src/StackMiddleware/Tailwind.php b/src/StackMiddleware/Tailwind.php
index cb719a18a769da705f59c84e8e3a3bef840186b9..54839977245e1d508fd7277882763c8d5a2bfc27 100644
--- a/src/StackMiddleware/Tailwind.php
+++ b/src/StackMiddleware/Tailwind.php
@@ -9,6 +9,7 @@ use Drupal\tailwindcss_utility\RuleStorage;
 use Drupal\tailwindcss_utility\TailwindJsHandler;
 use Psr\Log\LoggerInterface;
 use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpKernel\HttpKernelInterface;
 
 /**
@@ -206,7 +207,7 @@ EOF;
   /**
    * {@inheritdoc}
    */
-  public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
+  public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response {
     $response = $this->httpKernel->handle($request, $type, $catch);
 
     // Only handle HTML responses for now.
diff --git a/tailwindcss_utility.info.yml b/tailwindcss_utility.info.yml
index 34b2a5d9ebac3ae9ef0cda437a3febe533a97e57..1b2aac82b5aaa86648a9113beba445ca9af9a20d 100644
--- a/tailwindcss_utility.info.yml
+++ b/tailwindcss_utility.info.yml
@@ -2,7 +2,7 @@ name: Tailwind CSS Utilities
 type: module
 description: Tailwind Utilities
 package: tailwindcss_utility
-core_version_requirement: ^9 || ^10
+core_version_requirement: ^10
 configure: tailwindcss_utility.custom_styles
 dependencies:
   - drupal:file