Skip to content

Commit f4e9a16

Browse files
Merge branch '4.4'
* 4.4: Revert "feature #34329 [ExpressionLanguage] add XOR operator (ottaviano)" Allow \Throwable $previous everywhere
2 parents 917d4fb + 99876ba commit f4e9a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exception/MethodNotAllowedException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MethodNotAllowedException extends \RuntimeException implements ExceptionIn
2222
{
2323
protected $allowedMethods = [];
2424

25-
public function __construct(array $allowedMethods, string $message = null, int $code = 0, \Exception $previous = null)
25+
public function __construct(array $allowedMethods, string $message = null, int $code = 0, \Throwable $previous = null)
2626
{
2727
$this->allowedMethods = array_map('strtoupper', $allowedMethods);
2828

0 commit comments

Comments
 (0)