Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit114b04a

Browse files
committed
Fixed the deprecation message
1 parent7342e50 commit114b04a

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
protectedfunctionrenderView(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)

[8]ページ先頭

©2009-2025 Movatter.jp