Skip to content

Commit 83a7023

Browse files
GromNaNalcaeus
andauthored
Update src/Connection.php
Co-authored-by: Andreas Braun <git@alcaeus.org>
1 parent 36b8078 commit 83a7023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function __construct(array $config)
8888
*/
8989
public function collection($collection)
9090
{
91-
@trigger_error('Since mongodb/laravel-mongodb 4.8, the method Connection::collection() is deprecated and will be removed in version 5.0. Use the function table() instead.', E_USER_DEPRECATED);
91+
@trigger_error('Since mongodb/laravel-mongodb 4.8, the method Connection::collection() is deprecated and will be removed in version 5.0. Use the table() method instead.', E_USER_DEPRECATED);
9292

9393
return $this->table($collection);
9494
}

0 commit comments

Comments
 (0)