Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90e4345

Browse files
committed
Remove useless comment
1 parent a4385cf commit 90e4345

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,6 @@ public function isMethod($method)
14521452
public function isMethodSafe()
14531453
{
14541454
if (\func_num_args() > 0 && func_get_arg(0)) {
1455-
// setting $andCacheable to false should be deprecated in 4.1
14561455
throw new \BadMethodCallException('Checking only for cacheable HTTP methods with Symfony\Component\HttpFoundation\Request::isMethodSafe() is not supported.');
14571456
}
14581457

0 commit comments

Comments
 (0)