Skip to content

Commit 535a2bf

Browse files
Merge branch '5.1' into 5.2
* 5.1: [Security] Fix event propagation for globally registered security events Add missing `@return` annotations to fix deprecations on PHP 8 [ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts"
2 parents 0663407 + 2a0af83 commit 535a2bf

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)