Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Feb 2, 2018
1 parent bcf728c commit bca4c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ public function create(string $collectionName, string $databaseName = null, arra
throw new \LogicException('Failed to guess database name, neither mongo DSN nor argument have it.');
}

$this->mongodb->selectCollection($databaseName, $collectionName, $options);
return $this->mongodb->selectCollection($databaseName, $collectionName, $options);
}
}

0 comments on commit bca4c60

Please sign in to comment.