Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix and call to a member function delay() on int in Laravel 9.X #27

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

ankalagon
Copy link

Error:

  Call to a member function delay() on int

  at vendor/daanra/laravel-lets-encrypt/src/PendingCertificate.php:116
    112▕                 $this->retryList
    113▕             ),
    114▕ 	], $this->chain))
    115▕ 	 ->dispatch($email, $this->tries, $this->retryAfter, $this->retryList)
  ➜ 116▕  ->delay($this->delay);
    117▕
    118▕         return $certificate;
    119▕     }
    120▕

How to reproduce?
Run code:

LetsEncrypt::certificate($domain)
            ->delay(5)
            ->retryAfter(4)
            ->setTries(4)
            ->setRetryList([1, 5, 10])
            ->renew();

Laravel Framework 9.44.0

@Daanra Daanra merged commit b49a941 into Daanra:master Jan 3, 2023
@Daanra
Copy link
Owner

Daanra commented Jan 3, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants