Skip to content

Commit

Permalink
Add missing multistate lexer constructor type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Aug 1, 2024
1 parent 81daed2 commit 10578d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Executor.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,7 @@ protected function traverseNode(NodeInterface $node): NodeInterface
return $node;
}

/**
* @param string|int $key
*/
private function updateNodeValue(NodeInterface $node, $key, $value): void
private function updateNodeValue(NodeInterface $node, int|string $key, mixed $value): void
{
try {
// @phpstan-ignore-next-line
Expand Down

0 comments on commit 10578d7

Please sign in to comment.