mirror of
https://github.com/predis/predis.git
synced 2026-08-30 12:15:03 +00:00
Fixed static analys issue
This commit is contained in:
@@ -25,7 +25,7 @@ class RelayConsumer extends Consumer
|
||||
* @param string ...$channel One or more channel names.
|
||||
* @param callable $callback The message callback.
|
||||
*/
|
||||
public function subscribe($channel) // @phpstan-ignore-line
|
||||
public function subscribe(string ...$channel) // @phpstan-ignore-line
|
||||
{
|
||||
$channels = func_get_args();
|
||||
$callback = array_pop($channels);
|
||||
|
||||
Reference in New Issue
Block a user