Explorar o código

Updated arguments for MethodNotAllowedHttpException

Aurelijus %!s(int64=14) %!d(string=hai) anos
pai
achega
8f3b3a760d
Modificáronse 1 ficheiros con 1 adicións e 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);
         }
     }
 }