Skip to content

Commit 4b8735d

Browse files
committed
Correcting some @return phpdoc tags
1 parent 2eff055 commit 4b8735d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Agent/AgentClient.php

+2-8
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ public function members() {
167167
* Register a service within Consul
168168
*
169169
* @param \DCarbone\PHPConsulAPI\Agent\AgentServiceRegistration $agentServiceRegistration
170-
* @return array (
171-
* @type \DCarbone\PHPConsulAPI\Agent\AgentServiceRegistration $agentServiceRegistration
172-
* @type \DCarbone\PHPConsulAPI\Error|null
173-
* )
170+
* @return \DCarbone\PHPConsulAPI\Error|null
174171
*/
175172
public function serviceRegister(AgentServiceRegistration $agentServiceRegistration) {
176173
$r = new Request('put', 'v1/agent/service/register', $this->c, $agentServiceRegistration);
@@ -248,10 +245,7 @@ public function updateTTL($checkID, $output, $status) {
248245

249246
/**
250247
* @param \DCarbone\PHPConsulAPI\Agent\AgentCheckRegistration $agentCheckRegistration
251-
* @return array (
252-
* @type \DCarbone\PHPConsulAPI\Agent\AgentCheckRegistration $agentCheckRegistration
253-
* @type \DCarbone\PHPConsulAPI\Error|null
254-
* )
248+
* @return \DCarbone\PHPConsulAPI\Error|null
255249
*/
256250
public function checkRegister(AgentCheckRegistration $agentCheckRegistration) {
257251
$r = new Request('put', 'v1/agent/check/register', $this->c, $agentCheckRegistration);

0 commit comments

Comments
 (0)