Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeraymonddowning committed Feb 4, 2021
1 parent 9e45c20 commit f833172
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/Providers/SoapServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function boot()

protected function registerRay()
{
if (!SoapWatcher::rayExists()) {
if (!class_exists("Spatie\\LaravelRay\\Ray")) {
return;
}

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

class SoapWatcher extends Watcher
{
public static function rayExists(): bool
{
return class_exists("Spatie\\Ray\\Ray");
}

public function register(): void
{
Expand Down

0 comments on commit f833172

Please sign in to comment.