You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class MongoConnector implements ConnectorInterface
12
16
{
13
17
/**
@@ -32,11 +36,21 @@ public function __construct(ConnectionResolverInterface $connections)
32
36
*/
33
37
publicfunctionconnect(array$config)
34
38
{
39
+
if (! isset($config['collection']) && isset($config['table'])) {
40
+
trigger_error('Since mongodb/laravel-mongodb 4.4: Using "table" option in queue configuration is deprecated. Use "collection" instead.', E_USER_DEPRECATED);
41
+
$config['collection'] = $config['table'];
42
+
}
43
+
44
+
if (! isset($config['retry_after']) && isset($config['expire'])) {
45
+
trigger_error('Since mongodb/laravel-mongodb 4.4: Using "expire" option in queue configuration is deprecated. Use "retry_after" instead.', E_USER_DEPRECATED);
0 commit comments