diff --git a/composer.json b/composer.json index 74fbb7e..034f5b8 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "php": "~8.3.0 || ~8.4.0" }, "require-dev": { - "phpunit/phpunit": "^12.3.7", + "phpunit/phpunit": "^12.3.10", "slam/php-cs-fixer-extensions": "^3.12.0" }, "autoload": { diff --git a/lib/r.php b/lib/r.php index 67811c9..de631ff 100644 --- a/lib/r.php +++ b/lib/r.php @@ -177,7 +177,7 @@ public static function dump(mixed $var, int $maxDepth = 2, bool $stripTags = tru return $dumpText; } - public static function export(mixed $var, int $maxDepth): null|array|bool|float|int|\stdClass|string + public static function export(mixed $var, int $maxDepth): array|bool|float|int|\stdClass|string|null { $isObj = \is_object($var);