Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Nov 24, 2023
1 parent 27a3a0c commit 48dcc9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/LaravelOKServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function configurePackage(Package $package): void
});
}

public function packageBooted()
public function packageBooted(): void
{
$this->silenceQueueHeartbeatJob();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Listeners/SendCheckFailedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class SendCheckFailedNotification
{
public function handle(CheckFailed $event)
public function handle(CheckFailed $event): void
{
if (! $this->shouldSendNotification($event->check)) {
return;
Expand Down
4 changes: 3 additions & 1 deletion src/OK.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Vormkracht10\LaravelOK;

use Illuminate\Support\Collection;

class OK
{
protected array $checks = [];
Expand All @@ -13,7 +15,7 @@ public function checks(array $checks): self
return $this;
}

public function configuredChecks()
public function configuredChecks(): Collection
{
return collect($this->checks);
}
Expand Down

0 comments on commit 48dcc9e

Please sign in to comment.