Skip to content

Commit 5cc1339

Browse files
committed
minor #17197 [DependecyInjection] Added Uses & hints (mohamedGasmii)
This PR was submitted for the 5.4 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- [DependecyInjection] Added Uses & hints <!-- 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 ------- 0f08b16 [DependecyInjection] Added Uses & hints
2 parents 68fb8e8 + 0f08b16 commit 5cc1339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ you can type-hint the new ``SiteUpdateManager`` class and use it::
352352

353353
class SiteController extends AbstractController
354354
{
355-
public function new(SiteUpdateManager $siteUpdateManager)
355+
public function new(SiteUpdateManager $siteUpdateManager): Response
356356
{
357357
// ...
358358

0 commit comments

Comments
 (0)