Skip to content

Commit

Permalink
Merge pull request #3 from renoki-co/fix/typos
Browse files Browse the repository at this point in the history
[fix] Typos
  • Loading branch information
rennokki authored May 27, 2020
2 parents 79e3456 + 9b9f94f commit d8b4e82
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Http/Controllers/HealthcheckController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class HealthcheckController extends Controller implements Healthcheckable
* @param Closure $callable
* @return $this
*/
public function addHealtcheck(string $name, Closure $callable)
public function addHealthcheck(string $name, Closure $callable)
{
$this->healthchecks[$name] = $callable;

Expand Down
6 changes: 3 additions & 3 deletions tests/Http/Controllers/TestFailingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class TestFailingController extends HealthcheckController
{
public function registerHealthchecks(Request $request)
{
$this->addHealtcheck('test1', function (Request $request) {
$this->addHealthcheck('test1', function (Request $request) {
return true;
});

$this->addHealtcheck('test2', function (Request $request) {
$this->addHealthcheck('test2', function (Request $request) {
return false;
});

$this->addHealtcheck('test3', function (Request $request) {
$this->addHealthcheck('test3', function (Request $request) {
return false;
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class TestFailingWithCustomCodeController extends HealthcheckController
{
public function registerHealthchecks(Request $request)
{
$this->addHealtcheck('test1', function (Request $request) {
$this->addHealthcheck('test1', function (Request $request) {
return true;
});

$this->addHealtcheck('test2', function (Request $request) {
$this->addHealthcheck('test2', function (Request $request) {
return true;
});

$this->addHealtcheck('test3', function (Request $request) {
$this->addHealthcheck('test3', function (Request $request) {
return false;
});

Expand Down
6 changes: 3 additions & 3 deletions tests/Http/Controllers/TestOutputController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class TestOutputController extends HealthcheckController
{
public function registerHealthchecks(Request $request)
{
$this->addHealtcheck('test1', function (Request $request) {
$this->addHealthcheck('test1', function (Request $request) {
return true;
});

$this->addHealtcheck('test2', function (Request $request) {
$this->addHealthcheck('test2', function (Request $request) {
return true;
});

$this->addHealtcheck('test3', function (Request $request) {
$this->addHealthcheck('test3', function (Request $request) {
return false;
});

Expand Down
6 changes: 3 additions & 3 deletions tests/Http/Controllers/TestSuccessfulController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class TestSuccessfulController extends HealthcheckController
{
public function registerHealthchecks(Request $request)
{
$this->addHealtcheck('test1', function (Request $request) {
$this->addHealthcheck('test1', function (Request $request) {
return true;
});

$this->addHealtcheck('test2', function (Request $request) {
$this->addHealthcheck('test2', function (Request $request) {
return true;
});

$this->addHealtcheck('test3', function (Request $request) {
$this->addHealthcheck('test3', function (Request $request) {
return true;
});
}
Expand Down

0 comments on commit d8b4e82

Please sign in to comment.