We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b28d44b + a26a2b1 commit e4040faCopy full SHA for e4040fa
examples/reddit.php
@@ -18,7 +18,7 @@
18
$subReddits = $argv;
19
array_shift($subReddits);
20
foreach ($subReddits as $subReddit) {
21
- $client->subscribe($subReddit)->subscribe(new CallbackObserver(function($event) {
+ $client->subscribe($subReddit)->subscribe(new CallbackObserver(function ($event) {
22
echo 'Channel: ', $event['channel'], PHP_EOL;
23
echo 'Event: ', $event['event'], PHP_EOL;
24
echo 'Data: ', $event['data'], PHP_EOL;
0 commit comments