Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit 9e0d6fa

Browse files
committed
Fix stacked kernel type
1 parent 7cd7b09 commit 9e0d6fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/src/Kernel/AuthCodeResourceTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Drupal\user\Entity\Role;
1313
use Drupal\user\Entity\User;
1414
use Drupal\Core\StackMiddleware\StackedHttpKernel;
15+
use Stack\StackedHttpKernel as StackedHttpKernelLegacy;
1516
use Symfony\Component\HttpFoundation\Request;
1617

1718
/**
@@ -45,7 +46,7 @@ class AuthCodeResourceTest extends EntityKernelTestBase {
4546
/**
4647
* The kernel.
4748
*/
48-
protected StackedHttpKernel $httpKernel;
49+
protected StackedHttpKernel|StackedHttpKernelLegacy $httpKernel;
4950

5051
/**
5152
* The client.

0 commit comments

Comments
 (0)