Skip to content
Snippets Groups Projects
Unverified Commit acbd63f8 authored by Lucas Hedding's avatar Lucas Hedding Committed by Lucas Hedding
Browse files

Issue #3355774 by heddn: Symfony 5/6 support

parent 8ea0fcc3
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment