Skip to content

Commit 3a44fa2

Browse files
committed
fix readme
1 parent 87b43a8 commit 3a44fa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Register provider in `./config/app.php`:
1212

1313
```php
1414
<?php
15+
1516
return [
1617
'providers' => [
1718
Illuminate\Support\ServiceProvider\MongoDbServiceProvider::class,
@@ -43,7 +44,7 @@ use Psr\Container\ContainerInterface;
4344
use Sokil\Mongo\ClientPool;
4445

4546
Route::get('/', function (ContainerInterface $container) {
46-
/** @var \Sokil\Mongo\ClientPool $clientPool */
47+
/** @var ClientPool $clientPool */
4748
$clientPool = $container->get(ClientPool::class);
4849
$database = $clientPool->get('connect1');
4950
});

0 commit comments

Comments
 (0)