1
0
Fork 0

fix(completion): don't require constructor parameter for protocol DTO (#592)

pull/593/head v5.3.5
Felix Becker 2018-02-02 12:09:25 -08:00 committed by GitHub
parent 6894d85aaf
commit d9bc0b0285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class CompletionContext
*/ */
public $triggerCharacter; public $triggerCharacter;
public function __construct(int $triggerKind, string $triggerCharacter = null) public function __construct(int $triggerKind = null, string $triggerCharacter = null)
{ {
$this->triggerKind = $triggerKind; $this->triggerKind = $triggerKind;
$this->triggerCharacter = $triggerCharacter; $this->triggerCharacter = $triggerCharacter;