Skip to content

Commit

Permalink
Specify parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
siiptuo committed May 15, 2021
1 parent 36e3e34 commit 57659f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/GrammarError.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ class GrammarError
*/
public string $shortDescription;

/** @internal */
/**
* @internal
* @param array<int, string> $suggestions
*/
public function __construct(int $errorCode, int $startPosition, int $errorLength, array $suggestions, string $shortDescription)
{
$this->errorCode = $errorCode;
Expand Down

0 comments on commit 57659f4

Please sign in to comment.