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 553f7a8 commit f0d62b3Copy full SHA for f0d62b3
src/PhoneVerificationServiceProvider.php
@@ -56,15 +56,15 @@ protected function storages()
56
],
57
'mongodb' => [
58
\AlexGeno\PhoneVerification\Storage\MongoDb::class, // storage class name
59
- function (array $config): array { // params for the constructor
+ function (array $config): array {
60
/**
61
* @var \Jenssegers\Mongodb\Connection
62
*/
63
$connection = DB::connection($config['connection']);
64
$config['settings']['db'] = $connection->getDatabaseName();
65
66
return [$connection->getMongoClient(), $config['settings']];
67
- },
+ }, // params for the constructor
68
69
];
70
}
0 commit comments