@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * Returns credentials for notification service |
84 | 84 | * |
85 | 85 | * @param string $serviceName |
86 | - * @return array |
|
86 | + * @return string |
|
87 | 87 | */ |
88 | 88 | private function getServiceCredentials($serviceName) |
89 | 89 | { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * Tries to dispatch all messages to notification service |
190 | 190 | * |
191 | - * @return bool |
|
191 | + * @return boolean|null |
|
192 | 192 | * @throws Zbox\UnifiedPush\Exception\ClientException |
193 | 193 | * @throws Zbox\UnifiedPush\Exception\RuntimeException |
194 | 194 | * @throws \Exception |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * Returns validated and encoded message |
86 | 86 | * |
87 | 87 | * @param array $recipients |
88 | - * @return array |
|
88 | + * @return string |
|
89 | 89 | */ |
90 | 90 | private function buildNotification($recipients) |
91 | 91 | { |
@@ -101,7 +101,7 @@ |
||
101 | 101 | * Creates client server connection by service name and sender credentials |
102 | 102 | * |
103 | 103 | * @param string $serviceName |
104 | - * @param array $credentials |
|
104 | + * @param string $credentials |
|
105 | 105 | * @param bool $isFeedback |
106 | 106 | * @return ServiceClientInterface |
107 | 107 | */ |
@@ -279,7 +279,7 @@ |
||
279 | 279 | |
280 | 280 | /** |
281 | 281 | * Gets combination of connection flags |
282 | - * @return array |
|
282 | + * @return integer|null |
|
283 | 283 | */ |
284 | 284 | public function getConnectionFlags() |
285 | 285 | { |