mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
AsyncPoolTest: phpdoc
This commit is contained in:
parent
d69a887b0d
commit
d25ec58a6f
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user