Merge branch 'minor-next' into major-next

This commit is contained in:
Dylan K. Taylor
2025-01-08 15:25:12 +00:00
46 changed files with 978 additions and 435 deletions

View File

@ -62,6 +62,7 @@ class AsyncPoolTest extends TestCase{
}
public function testThreadSafeSetResult() : void{
/** @phpstan-var PromiseResolver<ThreadSafeArray<array-key, mixed>> $resolver */
$resolver = new PromiseResolver();
$resolver->getPromise()->onCompletion(
function(ThreadSafeArray $result) : void{

View File

@ -23,6 +23,6 @@ declare(strict_types=1);
namespace pocketmine\utils\fixtures;
trait TestTrait{
trait TestTrait{ // @phpstan-ignore trait.unused
}