Skip to content

Commit 824745c

Browse files
Upgrade the versions of phpstan and rector.
Co-authored-by: 李铭昕 <[email protected]>
1 parent 8221eb3 commit 824745c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Parallel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public function wait(bool $throw = true): array
7878
$executionException = new ParallelExecutionException($message);
7979
$executionException->setResults($this->results);
8080
$executionException->setThrowables($this->throwables);
81-
unset($this->results, $this->throwables);
81+
$this->results = [];
82+
$this->throwables = [];
8283
throw $executionException;
8384
}
8485
return $this->results;

0 commit comments

Comments
 (0)