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 d94690a + 0e84e79 commit 27365e9Copy full SHA for 27365e9
create_framework/http_kernel_httpkernelinterface.rst
@@ -16,9 +16,9 @@ goal by making our framework implement ``HttpKernelInterface``::
16
*/
17
public function handle(
18
Request $request,
19
- $type = self::MAIN_REQUEST,
20
- $catch = true
21
- );
+ int $type = self::MAIN_REQUEST,
+ bool $catch = true
+ ): Response;
22
}
23
24
``HttpKernelInterface`` is probably the most important piece of code in the
@@ -39,8 +39,8 @@ Update your framework so that it implements this interface::
39
40
41
42
- $type = HttpKernelInterface::MAIN_REQUEST,
43
+ int $type = HttpKernelInterface::MAIN_REQUEST,
44
) {
45
// ...
46
0 commit comments