We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3f2e8 commit 0c50cefCopy full SHA for 0c50cef
src/AntiMattr/MongoDB/Migrations/Configuration/Configuration.php
@@ -17,6 +17,7 @@
17
use AntiMattr\MongoDB\Migrations\OutputWriter;
18
use AntiMattr\MongoDB\Migrations\Version;
19
use Doctrine\MongoDB\Connection;
20
+use Doctrine\MongoDB\Database;
21
22
/**
23
* @author Matthew Fitzgerald <matthewfitz@gmail.com>
@@ -172,9 +173,9 @@ public function getConnection()
172
173
}
174
175
- * @return Doctrine\MongoDB\Connection
176
+ * @return Doctrine\MongoDB\Database
177
*/
- public function getDatabase()
178
+ public function getDatabase(): ?Database
179
{
180
if (isset($this->database)) {
181
return $this->database;
0 commit comments