summaryrefslogtreecommitdiffstats
path: root/php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch
blob: a3a39e0ab0fe69122d1cb9a24bd7e336a9be6b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index b7ccedd..e535f4b 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -44,7 +44,7 @@ class Application implements HttpKernelInterface
         $this->kernel = new HttpKernel($this->dispatcher, $controllerResolver, new RequestStack(), $argumentResolver);
     }
 
-    public function handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true)
+    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true)
     {
         return $this->kernel->handle($request);
     }