Skip to content

Commit 97c6073

Browse files
Merge branch '4.4'
* 4.4: Revert "feature #34329 [ExpressionLanguage] add XOR operator (ottaviano)" Allow \Throwable $previous everywhere
2 parents 85d7e89 + d12b01c commit 97c6073

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Exception/FileNotFoundException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class FileNotFoundException extends IOException
2121
{
22-
public function __construct(string $message = null, int $code = 0, \Exception $previous = null, string $path = null)
22+
public function __construct(string $message = null, int $code = 0, \Throwable $previous = null, string $path = null)
2323
{
2424
if (null === $message) {
2525
if (null === $path) {

Exception/IOException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class IOException extends \RuntimeException implements IOExceptionInterface
2222
{
2323
private $path;
2424

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

0 commit comments

Comments
 (0)