Fixed static analys issue

This commit is contained in:
vladvildanov
2025-04-01 11:02:08 +03:00
parent ebcf7809ea
commit 9a4f9d1ae2
+1 -1
View File
@@ -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);