diff --git a/ArangoProvider.php b/ArangoProvider.php index 5153baa..ff33f85 100644 --- a/ArangoProvider.php +++ b/ArangoProvider.php @@ -7,7 +7,7 @@ use yii\di\Instance; use triagens\ArangoDb\Document; -use app; + class ArangoProvider extends yii\data\ActiveDataProvider { @@ -23,7 +23,7 @@ class ArangoProvider extends yii\data\ActiveDataProvider public function init() { parent::init(); - $this->arango = Instance::ensure($this->arango, app\components\ArangoDbConnection::className()); + $this->arango = Instance::ensure($this->arango, \devgroup\arangodb\ArangoDbConnection::className()); if ($this->collection === null) { throw new InvalidConfigException('The "collection" property must be set.'); }