From 49ab83759165719ef5b14290b0fd0d516f5dd9c3 Mon Sep 17 00:00:00 2001 From: bethrezen Date: Mon, 16 Jun 2014 14:36:01 +0400 Subject: [PATCH] Fix namespace changes --- ArangoProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.'); }