Skip to content

Commit 5b56c19

Browse files
committed
minor #17091 [HttpKernel] Add return type for handle method (mohamedGasmii)
This PR was merged into the 6.0 branch. Discussion ---------- [HttpKernel] Add return type for handle method Response return type hint has been added in v6.0 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- e475cf0 [HttpKernel] Add return type for handle method
2 parents ba81727 + e475cf0 commit 5b56c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ that system::
6767
Request $request,
6868
int $type = self::MAIN_REQUEST,
6969
bool $catch = true
70-
);
70+
): Response;
7171
}
7272

7373
Internally, :method:`HttpKernel::handle() <Symfony\\Component\\HttpKernel\\HttpKernel::handle>` -

0 commit comments

Comments
 (0)