Explorar el Código

Updated arguments for MethodNotAllowedHttpException

Aurelijus hace 14 años
padre
commit
8f3b3a760d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
         }
     }
 }