Skip to content

Commit

Permalink
fix(completion): don't require constructor parameter for protocol DTO (
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker authored Feb 2, 2018
1 parent 6894d85 commit d9bc0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Protocol/CompletionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d9bc0b0

Please sign in to comment.