Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Aug 9, 2023
1 parent 5e62d95 commit c1bcc21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Checks/Traits/ChecksUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Support\Facades\Http;
use Vormkracht10\LaravelOK\Checks\Base\Check;
use Vormkracht10\LaravelOK\Checks\Base\Result;
use Vormkracht10\LaravelOK\Exceptions\InvalidCheck;

class ChecksUrl extends Check
{
Expand Down Expand Up @@ -72,7 +71,7 @@ public function failureMessage(string $failureMessage): self
public function run(): Result
{
if (is_null($this->url)) {
throw InvalidCheck::urlNotSet();
throw Exception('URL not set');

Check failure on line 74 in src/Checks/Traits/ChecksUrl.php

View workflow job for this annotation

GitHub Actions / phpstan

Function Exception not found.
}

try {
Expand Down

0 comments on commit c1bcc21

Please sign in to comment.