updated-packages
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Symfony\Component\Filesystem\Exception;
|
||||
*/
|
||||
class FileNotFoundException extends IOException
|
||||
{
|
||||
public function __construct(string $message = null, int $code = 0, \Exception $previous = null, string $path = null)
|
||||
public function __construct(string $message = null, int $code = 0, \Throwable $previous = null, string $path = null)
|
||||
{
|
||||
if (null === $message) {
|
||||
if (null === $path) {
|
||||
|
@@ -22,7 +22,7 @@ class IOException extends \RuntimeException implements IOExceptionInterface
|
||||
{
|
||||
private $path;
|
||||
|
||||
public function __construct(string $message, int $code = 0, \Exception $previous = null, string $path = null)
|
||||
public function __construct(string $message, int $code = 0, \Throwable $previous = null, string $path = null)
|
||||
{
|
||||
$this->path = $path;
|
||||
|
||||
|
@@ -21,7 +21,7 @@ interface IOExceptionInterface extends ExceptionInterface
|
||||
/**
|
||||
* Returns the associated path for the exception.
|
||||
*
|
||||
* @return string The path
|
||||
* @return string|null The path
|
||||
*/
|
||||
public function getPath();
|
||||
}
|
||||
|
Reference in New Issue
Block a user