Hi,
I found many issues with the last pre-release version:
<?php
declare(strict_types=1);
namespace Devsense\Release\V_20261019;
use Closure;
use stdClass;
$array = [];
$array['a'] = 123;
$array['b'] = 456;
uksort($array, function (string $keyA, string $keyB) {
return 0;
});
/**
* @param stdClass[]|stdClass[][] $stores
*/
function test1(array|stdClass ...$stores)
{
array_walk_recursive($stores, function (stdClass $objectDef) {});
}
/**
* @param Closure(): void $callback
*/
function test2(Closure $callback) {}
test2(function () {
echo 'TEST';
});
test2(function (): void {
echo 'TEST';
});
Thank you for the fixes.
I will continue to check the new errors.