Skip to content

Commit d9bc0b0

Browse files
authored
fix(completion): don't require constructor parameter for protocol DTO (#592)
1 parent 6894d85 commit d9bc0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Protocol/CompletionContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CompletionContext
2222
*/
2323
public $triggerCharacter;
2424

25-
public function __construct(int $triggerKind, string $triggerCharacter = null)
25+
public function __construct(int $triggerKind = null, string $triggerCharacter = null)
2626
{
2727
$this->triggerKind = $triggerKind;
2828
$this->triggerCharacter = $triggerCharacter;

0 commit comments

Comments
 (0)