phpstan 1.5.1

This commit is contained in:
Dylan K. Taylor
2022-03-28 17:12:00 +01:00
parent 8ea106c091
commit 194cb1fb84
6 changed files with 21 additions and 42 deletions

View File

@ -64,6 +64,9 @@ class ThreadManager extends \Volatile{
*/
public function getAll() : array{
$array = [];
/**
* @var Worker|Thread $thread
*/
foreach($this as $key => $thread){
$array[$key] = $thread;
}