Skip to content

Commit bf124d8

Browse files
committed
fixed completer api
1 parent 7576fb5 commit bf124d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Symfony\Component\EventDispatcher\EventDispatcher;
66
use Complete\Resolver\NodeTypeResolver;
7-
use Complete\CompleteEngine;
7+
use Complete\Completer\CompleterFactory;
88
use Parser\UseParser;
99
use Entity\FQCN;
1010

@@ -31,7 +31,7 @@ public function init()
3131
[$this->resolver, 'handleTypeResolveEvent']
3232
);
3333
$this->dispatcher->addListener(
34-
CompleteEngine::CUSTOM_COMPLETER,
34+
CompleterFactory::CUSTOM_COMPLETER,
3535
[$this, 'handleCompleteEvent']
3636
);
3737
}

0 commit comments

Comments
 (0)