Compatibility with php 8.0
Curly braces no longer supported from php 7.4
This commit is contained in:
parent
58e8a1a317
commit
2a301921db
|
@ -55,7 +55,7 @@ class RedirectToRandomAddressController {
|
|||
}
|
||||
|
||||
public static function invoke(ImapClient $imapClient, array $config) {
|
||||
$address = User::get_random_address($config{'domains'});
|
||||
$address = User::get_random_address($config['domains']);
|
||||
RedirectToAddressController::render($address);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user