8000 Fixed the deprecation message · symfony/symfony@114b04a · GitHub
[go: up one dir, main page]

Skip to content

Commit 114b04a

Browse files
committed
Fixed the deprecation message
1 parent 7342e50 commit 114b04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ protected function denyAccessUnlessGranted($attributes, $subject = null, string
244244
*/
245245
protected function renderView(string $view, array $parameters = []): string
246246
{
247-
trigger_deprecation('symfony/framework-bundle', '5.1', 'The "renderView()" method is deprecated, use "renderTemplate()" instead.', E_USER_DEPRECATED);
247+
trigger_deprecation('symfony/framework-bundle', '5.1', 'The "%s" method is deprecated, use "renderTemplate()" instead.', __METHOD__);
248248

249249
return $this->renderTemplate($view, $parameters);
250250
}

0 commit comments

Comments
 (0)
0