8000 Apply fabpot changes · symfony/symfony@f13e14b · GitHub
[go: up one dir, main page]

Skip to content

Commit f13e14b

Browse files
author
dFayet
committed
Apply fabpot changes
1 parent 6aa78cf commit f13e14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ public function isMethod($method)
14421442
public function isMethodSafe()
14431443
{
14441444
if (\func_num_args() > 0) {
1445-
@trigger_error('Passing arguments to Symfony\Component\HttpFoundation\Request::isMethodSafe() is not supported. To check if method is cacheable, use Symfony\Component\HttpFoundation\Request::isMethodCacheable() instead.', E_USER_DEPRECATED);
1445+
@trigger_error(sprintf('Passing arguments to "%s()" has been deprecated since Symfony 4.4; use "%s::isMethodCacheable() to check if the method is cacheable instead."', __METHOD__, __CLASS__), E_USER_DEPRECATED);
14461446
}
14471447

14481448
return \in_array($this->getMethod(), ['GET', 'HEAD', 'OPTIONS', 'TRACE']);

0 commit comments

Comments
 (0)
0