Skip to content

Commit 98c8189

Browse files
Merge branch '4.4'
* 4.4: Revert "feature #34329 [ExpressionLanguage] add XOR operator (ottaviano)" Allow \Throwable $previous everywhere
2 parents f507d24 + eade289 commit 98c8189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Exception/ThrowingCasterException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
class ThrowingCasterException extends \Exception
1818
{
1919
/**
20-
* @param \Exception $prev The exception thrown from the caster
20+
* @param \Throwable $prev The exception thrown from the caster
2121
*/
22-
public function __construct(\Exception $prev)
22+
public function __construct(\Throwable $prev)
2323
{
2424
parent::__construct('Unexpected '.\get_class($prev).' thrown from a caster: '.$prev->getMessage(), 0, $prev);
2525
}

0 commit comments

Comments
 (0)