10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b2ecdb + 4ccdd5d commit 1bab91bCopy full SHA for 1bab91b
src/BrefKernel.php
@@ -3,6 +3,7 @@
3
namespace Bref\SymfonyBridge;
4
5
use Symfony\Component\Filesystem\Filesystem;
6
+use Symfony\Component\HttpFoundation\Request;
7
use Symfony\Component\HttpFoundation\Response;
8
use Symfony\Component\HttpKernel\HttpKernelInterface;
9
use Symfony\Component\HttpKernel\Kernel;
@@ -41,7 +42,7 @@ public function getLogDir(): string
41
42
*
43
* @see https://github.com/brefphp/symfony-bridge/pull/37
44
*/
- public function handle($request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = true): Response
45
+ public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
46
{
47
$this->prepareCacheDir(parent::getCacheDir(), $this->getCacheDir());
48
0 commit comments