File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -6102,9 +6102,15 @@ public function testInvalidAuthArgs() {
6102
6102
6103
6103
foreach ($ arr_args as $ arr_arg ) {
6104
6104
try {
6105
- @call_user_func_array ([$ obj_new , 'auth ' ], $ arr_arg );
6105
+ if (is_array ($ arr_arg )) {
6106
+ @call_user_func_array ([$ obj_new , 'auth ' ], $ arr_arg );
6107
+ } else {
6108
+ call_user_func ([$ obj_new , 'auth ' ]);
6109
+ }
6106
6110
} catch (Exception $ ex ) {
6107
6111
unset($ ex ); /* Suppress intellisense warning */
6112
+ } catch (ArgumentCountError $ ex ) {
6113
+ unset($ ex ); /* Suppress intellisense warning */
6108
6114
}
6109
6115
}
6110
6116
}
Original file line number Diff line number Diff line change 22
22
ini_set ('redis.session.lock_expire ' , $ lock_expire );
23
23
ini_set ('session.gc_maxlifetime ' , $ sessionLifetime );
24
24
25
- if (isset ($ argv [8 ])) {
25
+ if (isset ($ argv [10 ])) {
26
26
ini_set ('redis.session.locking_enabled ' , $ argv [10 ]);
27
27
}
28
28
29
- if (isset ($ argv [9 ])) {
29
+ if (isset ($ argv [11 ])) {
30
30
ini_set ('redis.session.lock_wait_time ' , $ argv [11 ]);
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments