Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pda/pheanstalk
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Oct 10, 2018
2 parents 8821b1f + 6bd37ea commit eecd29d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Command/DeleteCommand.php
Expand Up @@ -16,7 +16,7 @@ class DeleteCommand extends JobCommand implements ResponseParserInterface
{
public function getCommandLine(): string
{
return 'delete ' . $this->jobId;
return 'delete '.$this->jobId;
}

public function parseResponse(string $responseLine, ?string $responseData): ArrayResponse
Expand Down
2 changes: 1 addition & 1 deletion src/Command/IgnoreCommand.php
Expand Up @@ -15,7 +15,7 @@ class IgnoreCommand extends TubeCommand implements ResponseParserInterface
{
public function getCommandLine(): string
{
return 'ignore ' . $this->tube;
return 'ignore '.$this->tube;
}

public function parseResponse(string $responseLine, ?string $responseData): ArrayResponse
Expand Down
2 changes: 1 addition & 1 deletion src/Command/KickCommand.php
Expand Up @@ -26,7 +26,7 @@ public function __construct(int $max)

public function getCommandLine(): string
{
return 'kick ' . $this->max;
return 'kick '.$this->max;
}

/* (non-phpdoc)
Expand Down
4 changes: 2 additions & 2 deletions src/Command/KickJobCommand.php
Expand Up @@ -23,7 +23,7 @@ class KickJobCommand extends JobCommand implements ResponseParserInterface
{
public function getCommandLine(): string
{
return 'kick-job ' . $this->jobId;
return 'kick-job '.$this->jobId;
}

/* (non-phpdoc)
Expand All @@ -40,7 +40,7 @@ public function parseResponse(string $responseLine, ?string $responseData): Arra
} elseif ($responseLine == ResponseInterface::RESPONSE_KICKED) {
return $this->createResponse(ResponseInterface::RESPONSE_KICKED);
} else {
throw new Exception('Unhandled response: ' . $responseLine);
throw new Exception('Unhandled response: '.$responseLine);
}
}
}
2 changes: 1 addition & 1 deletion src/Command/PauseTubeCommand.php
Expand Up @@ -49,7 +49,7 @@ public function parseResponse(string $responseLine, ?string $responseData): Arra
} elseif ($responseLine == ResponseInterface::RESPONSE_PAUSED) {
return $this->createResponse(ResponseInterface::RESPONSE_PAUSED);
} else {
throw new Exception('Unhandled response: "' . $responseLine . '"');
throw new Exception('Unhandled response: "'.$responseLine.'"');
}
}
}
2 changes: 1 addition & 1 deletion src/Command/WatchCommand.php
Expand Up @@ -13,7 +13,7 @@ class WatchCommand extends TubeCommand implements ResponseParserInterface
{
public function getCommandLine(): string
{
return 'watch ' . $this->tube;
return 'watch '.$this->tube;
}

public function parseResponse(string $responseLine, ?string $responseData): ArrayResponse
Expand Down

0 comments on commit eecd29d

Please sign in to comment.