We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74757e0 commit 1b8bbffCopy full SHA for 1b8bbff
src/Api/Clips.php
@@ -54,7 +54,7 @@ public function getTopClips($channel = null, $cursor = null, $game = null, $limi
54
}
55
56
$channel = trim($channel, ', ');
57
- if ($count = count(explode(',', $channel) > 10)) {
+ if (($count = count(explode(',', $channel)) > 10)) {
58
throw new TwitchApiException(sprintf('Only a maximum of 10 channels can be queried. %d requested.', $count));
59
60
0 commit comments