10000 Fix deprecation messages · symfony/symfony@f95b41f · GitHub
[go: up one dir, main page]

Skip to content

Commit f95b41f

Browse files
committed
Fix deprecation messages
1 parent 5a9ed18 commit f95b41f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function getSubscribedServices()
109109
/**
110110
* Returns true if the service id is defined.
111111
*
112-
* @deprecated since 5.4, use method or constructor injection in your controller instead
112+
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
113113
*/
114114
protected function has(string $id): bool
115115
{
@@ -123,7 +123,7 @@ protected function has(string $id): bool
123123
*
124124
* @return object The service
125125
*
126-
* @deprecated since 5.4, use method or constructor injection in your controller instead
126+
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
127127
*/
128128
protected function get(string $id): object
129129
{
@@ -379,7 +379,7 @@ protected function createFormBuilder($data = null, array $options = []): FormBui
379379
*
380380
* @throws \LogicException If DoctrineBundle is not available
381381
*
382-
* @deprecated since 5.4, inject an instance of ManagerRegistry in your controller instead
382+
* @deprecated since Symfony 5.4, inject an instance of ManagerRegistry in your controller instead
383383
*/
384384
protected function getDoctrine(): ManagerRegistry
385385
{
@@ -439,7 +439,7 @@ protected function isCsrfTokenValid(string $id, ?string $token): bool
439439
*
440440
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
441441
*
442-
* @deprecated since 5.4, inject an instance of MessageBusInterface in your controller instead
442+
* @deprecated since Symfony 5.4, inject an instance of MessageBusInterface in your controller instead
443443
*/
444444
protected function dispatchMessage(object $message, array $stamps = []): Envelope
445445
{

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ private function createRequestMatcher(ContainerBuilder $container, string $path
10431043
}
10441044

10451045
/**
1046-
* @deprecated since 5.4, use "addAuthenticatorFactory()" instead
1046+
* @deprecated since Symfony 5.4, use "addAuthenticatorFactory()" instead
10471047
*/
10481048
public function addSecurityListenerFactory(SecurityFactoryInterface $factory)
10491049
{

0 commit comments

Comments
 (0)
0