change constructor type to match current usage

This commit is contained in:
Mike Macgirvin 2022-09-12 13:39:41 -07:00
parent 5c89f664e5
commit c0657f55a5

View file

@ -54,7 +54,7 @@ class AccessControl
* * \e string \b channel_deny_cid => string of denied xchan_hash
* * \e string \b channel_deny_gid => string of denied group_id
*/
public function __construct(array $channel)
public function __construct(mixed $channel)
{
if ($channel) {
$this->allow_cid = $channel['channel_allow_cid'];