8000
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.
BrefKernel::handle
Symfony\Component\HttpKernel\HttpKernelInterface
1 parent 0b2ecdb commit 4ccdd5dCopy full SHA for 4ccdd5d
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