Skip to content

Commit

Permalink
fixed completer api
Browse files Browse the repository at this point in the history
  • Loading branch information
mkusher committed Aug 16, 2015
1 parent 7576fb5 commit bf124d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Symfony\Component\EventDispatcher\EventDispatcher;
use Complete\Resolver\NodeTypeResolver;
use Complete\CompleteEngine;
use Complete\Completer\CompleterFactory;
use Parser\UseParser;
use Entity\FQCN;

Expand All @@ -31,7 +31,7 @@ public function init()
[$this->resolver, 'handleTypeResolveEvent']
);
$this->dispatcher->addListener(
CompleteEngine::CUSTOM_COMPLETER,
CompleterFactory::CUSTOM_COMPLETER,
[$this, 'handleCompleteEvent']
);
}
Expand Down

0 comments on commit bf124d8

Please sign in to comment.