소스 검색

Updated arguments for MethodNotAllowedHttpException

Aurelijus 14 년 전
부모
커밋
8f3b3a760d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/RequestListener.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/RequestListener.php

@@ -110,7 +110,7 @@ class RequestListener
             if (null !== $this->logger) {
                 $this->logger->err($message);
             }
-            throw new MethodNotAllowedHttpException($e->getAllowedMethods(), 'Method Not Allowed', $message, 0, $e);
+            throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e, 0);
         }
     }
 }