Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
svilborg committed Jul 18, 2019
1 parent b718974 commit 4987041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Checks/Cli/Exec.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@ public function call()
$commands = $this->getParam('commands', []);

foreach ($commands as $command => $data) {
$params = $data['params'] ?? [];
$result = $data['result'] ?? null;
$dir = $data['dir'] ?? null;
$timeout = $data['timeout'] ?? 5;

$params = ! is_array($params) ? [
$params
] : $params;

$process = new Process($command, $dir);
$process->run();

Expand Down
4 changes: 4 additions & 0 deletions src/Resources/HealthCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

/**
* Health Check Resource
*
* @method string getName()
* @method string getState()
* @method array getData()
*/
class HealthCheck extends JsonResource
{
Expand Down

0 comments on commit 4987041

Please sign in to comment.