exit handlers patch instead of continuous

This commit is contained in:
henderkes
2026-04-28 22:24:13 +07:00
parent b536d0c694
commit b5dca48acf
6 changed files with 125 additions and 30 deletions

View File

@@ -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);