From d9bc0b0285db5aecc7fdd3b2e64ce28a9a2c0fb8 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Fri, 2 Feb 2018 12:09:25 -0800 Subject: [PATCH] fix(completion): don't require constructor parameter for protocol DTO (#592) --- src/Protocol/CompletionContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/CompletionContext.php b/src/Protocol/CompletionContext.php index ff18bd1e..f538867d 100644 --- a/src/Protocol/CompletionContext.php +++ b/src/Protocol/CompletionContext.php @@ -22,7 +22,7 @@ class CompletionContext */ public $triggerCharacter; - public function __construct(int $triggerKind, string $triggerCharacter = null) + public function __construct(int $triggerKind = null, string $triggerCharacter = null) { $this->triggerKind = $triggerKind; $this->triggerCharacter = $triggerCharacter;