Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 23, 2024
1 parent 35263ad commit 611ed6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/Psalm/Internal/Fork/Pool.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ final class Pool
/** @var resource[] */
private array $read_streams = [];

/** @var ?Closure(mixed): void */
private ?Closure $task_done_closure = null;

/**
* @param array<int, array<int, mixed>> $process_task_data_iterator
* An array of task data items to be divided up among the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function __construct(
public function start(
PhpParser\Node\FunctionLike $stmt,
bool $fake_method = false,
PhpParser\Comment\Doc $doc_comment = null,
?PhpParser\Comment\Doc $doc_comment = null,
): FunctionStorage|MethodStorage|false {
if ($stmt instanceof PhpParser\Node\Expr\Closure
|| $stmt instanceof PhpParser\Node\Expr\ArrowFunction
Expand Down

0 comments on commit 611ed6e

Please sign in to comment.