diff --git a/Model.php b/Model.php index 4b3429b..87ae8d0 100755 --- a/Model.php +++ b/Model.php @@ -697,6 +697,6 @@ public function getJSONDocument() */ public function getBSONDocument() { - return MongoDB\BSON\fromPHP($this->getRawDocument()); + return \MongoDB\BSON\fromPHP($this->getRawDocument()); } } \ No newline at end of file