Skip to content

Commit 88e5638

Browse files
authored
Merge pull request #3 from jonneyless/master
Fix error for private property access
2 parents b6ba4cf + eb39f3c commit 88e5638

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Client.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace PHPMongoKit\ODM\Adapter\Yii2;
44

5-
class Client
5+
use yii\base\Component;
6+
7+
class Client extends Component
68
{
79
private $dsn;
810

@@ -76,4 +78,4 @@ public function getCollection($collectionName, $databaseName = null)
7678
{
7779
return $this->getDatabase($databaseName)->getCollection($collectionName);
7880
}
79-
}
81+
}

0 commit comments

Comments
 (0)