Aggiornato Composer
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException as BaseInvalidArgumentException;
|
||||
use Throwable;
|
||||
|
||||
// This will extends OutOfRangeException instead of InvalidArgumentException since 3.0.0
|
||||
// use OutOfRangeException as BaseOutOfRangeException;
|
||||
@@ -55,9 +55,9 @@ class OutOfRangeException extends BaseInvalidArgumentException implements Invali
|
||||
* @param mixed $max
|
||||
* @param mixed $value
|
||||
* @param int $code
|
||||
* @param Exception|null $previous
|
||||
* @param Throwable|null $previous
|
||||
*/
|
||||
public function __construct($unit, $min, $max, $value, $code = 0, Exception $previous = null)
|
||||
public function __construct($unit, $min, $max, $value, $code = 0, Throwable $previous = null)
|
||||
{
|
||||
$this->unit = $unit;
|
||||
$this->min = $min;
|
||||
|
||||
Reference in New Issue
Block a user