diff --git a/service_container.rst b/service_container.rst index ddb81243ccd..b976736f9d6 100644 --- a/service_container.rst +++ b/service_container.rst @@ -352,7 +352,7 @@ you can type-hint the new ``SiteUpdateManager`` class and use it:: class SiteController extends AbstractController { - public function new(SiteUpdateManager $siteUpdateManager) + public function new(SiteUpdateManager $siteUpdateManager): Response { // ...