Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 7e32fdc

Browse files
Merge pull request #2 from Superbalist/analysis-z9AMYo
Apply fixes from StyleCI
2 parents 34c39b5 + d9ada32 commit 7e32fdc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

phpunit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
include __DIR__ . '/vendor/autoload.php';
3+
include __DIR__ . '/vendor/autoload.php';

src/GoogleCloudPubSubAdapter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public function subscribe($channel, callable $handler)
140140

141141
foreach ($messages as $message) {
142142
/** @var Message $message */
143-
144143
$payload = Utils::unserializeMessagePayload($message->data());
145144

146145
if ($payload === 'unsubscribe') {
@@ -172,6 +171,7 @@ public function publish($channel, $message)
172171
* If the topic doesn't exist, the topic is first created.
173172
*
174173
* @param string $channel
174+
*
175175
* @return \Google\Cloud\PubSub\Topic
176176
*/
177177
protected function getTopicForChannel($channel)
@@ -189,6 +189,7 @@ protected function getTopicForChannel($channel)
189189
* If the subscription doesn't exist, the subscription is first created.
190190
*
191191
* @param string $channel
192+
*
192193
* @return \Google\Cloud\PubSub\Subscription
193194
*/
194195
protected function getSubscriptionForChannel($channel)

0 commit comments

Comments
 (0)