Преглед на файлове

Merge remote branch 'aurelijus/wrong_arguments_for_exception'

* aurelijus/wrong_arguments_for_exception:
  removed 0
  Updated arguments for MethodNotAllowedHttpException
Fabien Potencier преди 14 години
родител
ревизия
043988f670
променени са 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);
         }
     }
 }