Skip to content

Commit 2a0af83

Browse files
Merge branch '4.4' into 5.1
* 4.4: Add missing `@return` annotations to fix deprecations on PHP 8 [ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts"
2 parents a2d9f92 + 176b10c commit 2a0af83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Controller/AbstractController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function setContainer(ContainerInterface $container): ?ContainerInterface
7474
/**
7575
* Gets a container parameter by its name.
7676
*
77-
* @return mixed
77+
* @return array|bool|float|int|string|null
7878
*/
7979
protected function getParameter(string $name)
8080
{

Test/TestContainer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ public function getParameterBag(): ParameterBagInterface
5858

5959
/**
6060
* {@inheritdoc}
61+
*
62+
* @return array|bool|float|int|string|null
6163
*/
6264
public function getParameter(string $name)
6365
{

0 commit comments

Comments
 (0)