mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
AsyncPoolTest: phpdoc
This commit is contained in:
@ -71,6 +71,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{
|
||||
|
Reference in New Issue
Block a user