Skip to content

Commit 611ed6e

Browse files
committed
Fixes
1 parent 35263ad commit 611ed6e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Psalm/Internal/Fork/Pool.php

-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ final class Pool
7979
/** @var resource[] */
8080
private array $read_streams = [];
8181

82-
/** @var ?Closure(mixed): void */
83-
private ?Closure $task_done_closure = null;
84-
8582
/**
8683
* @param array<int, array<int, mixed>> $process_task_data_iterator
8784
* An array of task data items to be divided up among the

src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeNodeScanner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function __construct(
100100
public function start(
101101
PhpParser\Node\FunctionLike $stmt,
102102
bool $fake_method = false,
103-
PhpParser\Comment\Doc $doc_comment = null,
103+
?PhpParser\Comment\Doc $doc_comment = null,
104104
): FunctionStorage|MethodStorage|false {
105105
if ($stmt instanceof PhpParser\Node\Expr\Closure
106106
|| $stmt instanceof PhpParser\Node\Expr\ArrowFunction

0 commit comments

Comments
 (0)