소스 검색

[HttpKernel] fixed typo

Kris Wallsmith 14 년 전
부모
커밋
7c794b349d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

+ 1 - 1
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

@@ -148,7 +148,7 @@ class HttpCache implements HttpKernelInterface
         }
         $this->traces[$request->getMethod().' '.$path] = array();
 
-        if (!$request->isMethodSafe($request)) {
+        if (!$request->isMethodSafe()) {
             $response = $this->invalidate($request, $catch);
         } elseif ($request->headers->has('expect')) {
             $response = $this->pass($request, $catch);