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
Copy file name to clipboardExpand all lines: src/Queue/MongoConnector.php
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,21 @@ public function __construct(ConnectionResolverInterface $connections)
32
32
*/
33
33
publicfunctionconnect(array$config)
34
34
{
35
+
if (!isset($config['collection']) && isset($config['table'])) {
36
+
trigger_error('Since mongodb/laravel-mongodb 4.4: Using "table" option in queue configuration is deprecated. Use "collection" instead.', E_USER_DEPRECATED);
37
+
$config['collection'] = $config['table'];
38
+
}
39
+
40
+
if (!isset($config['retry_after']) && isset($config['expire'])) {
41
+
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