@@ -19,5 +19,5 @@ |
||
| 19 | 19 | $publisher = new AsyncPublisher($driver, 'xchange'); |
| 20 | 20 | |
| 21 | 21 | for ($i = 0; $i < $argv[1]; ++$i) {
|
| 22 | - $publisher->publish('event #'.$i, '', ['test' => 'testValue']);
|
|
| 22 | + $publisher->publish('event #' . $i, '', ['test' => 'testValue']);
|
|
| 23 | 23 | } |
@@ -23,5 +23,5 @@ |
||
| 23 | 23 | $publisher = new SyncPublisher($driver, 'xchange'); |
| 24 | 24 | |
| 25 | 25 | for ($i = 0; $i < $argv[1]; ++$i) {
|
| 26 | - echo $publisher->publish('event #'.$i, '', ['test' => 'testValue'])."\n";
|
|
| 26 | + echo $publisher->publish('event #' . $i, '', ['test' => 'testValue']) . "\n";
|
|
| 27 | 27 | } |
@@ -16,4 +16,4 @@ |
||
| 16 | 16 | $admin->declareExchange($exchangeName); |
| 17 | 17 | $admin->declareAndBindQueue($exchangeName, $queueName); |
| 18 | 18 | |
| 19 | -echo 'Added queue "'.$queueName.'" to exchange'."\n"; |
|
| 19 | +echo 'Added queue "' . $queueName . '" to exchange' . "\n"; |
|
@@ -19,5 +19,5 @@ |
||
| 19 | 19 | $publisher = new SyncPublisher($driver, 'xchange'); |
| 20 | 20 | |
| 21 | 21 | for ($i = 0; $i < $argv[1]; ++$i) {
|
| 22 | - echo $publisher->publish('event #'.$i, '', ['test' => 'testValue'])."\n";
|
|
| 22 | + echo $publisher->publish('event #' . $i, '', ['test' => 'testValue']) . "\n";
|
|
| 23 | 23 | } |