mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
exit handlers patch instead of continuous
This commit is contained in:
@@ -14,9 +14,9 @@ use SPC\builder\Extension;
|
||||
*/
|
||||
class ValidationException extends SPCException
|
||||
{
|
||||
private array|string|null $validation_module = null;
|
||||
private null|array|string $validation_module = null;
|
||||
|
||||
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null, array|string|null $validation_module = null)
|
||||
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null, null|array|string $validation_module = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user