From 57659f40963ff6dc5207f450703db63a1a0fe503 Mon Sep 17 00:00:00 2001 From: Tuomas Siipola Date: Sat, 15 May 2021 12:48:55 +0300 Subject: [PATCH] Specify parameter type --- src/GrammarError.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GrammarError.php b/src/GrammarError.php index a23b971..076b855 100644 --- a/src/GrammarError.php +++ b/src/GrammarError.php @@ -46,7 +46,10 @@ class GrammarError */ public string $shortDescription; - /** @internal */ + /** + * @internal + * @param array $suggestions + */ public function __construct(int $errorCode, int $startPosition, int $errorLength, array $suggestions, string $shortDescription) { $this->errorCode = $errorCode;