Skip to content

Commit

Permalink
Correcting some @return phpdoc tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Apr 19, 2017
1 parent 2eff055 commit 4b8735d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Agent/AgentClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,7 @@ public function members() {
* Register a service within Consul
*
* @param \DCarbone\PHPConsulAPI\Agent\AgentServiceRegistration $agentServiceRegistration
* @return array (
* @type \DCarbone\PHPConsulAPI\Agent\AgentServiceRegistration $agentServiceRegistration
* @type \DCarbone\PHPConsulAPI\Error|null
* )
* @return \DCarbone\PHPConsulAPI\Error|null
*/
public function serviceRegister(AgentServiceRegistration $agentServiceRegistration) {
$r = new Request('put', 'v1/agent/service/register', $this->c, $agentServiceRegistration);
Expand Down Expand Up @@ -248,10 +245,7 @@ public function updateTTL($checkID, $output, $status) {

/**
* @param \DCarbone\PHPConsulAPI\Agent\AgentCheckRegistration $agentCheckRegistration
* @return array (
* @type \DCarbone\PHPConsulAPI\Agent\AgentCheckRegistration $agentCheckRegistration
* @type \DCarbone\PHPConsulAPI\Error|null
* )
* @return \DCarbone\PHPConsulAPI\Error|null
*/
public function checkRegister(AgentCheckRegistration $agentCheckRegistration) {
$r = new Request('put', 'v1/agent/check/register', $this->c, $agentCheckRegistration);
Expand Down

0 comments on commit 4b8735d

Please sign in to comment.