Skip to content

Commit

Permalink
update Onboard facade docblock
Browse files Browse the repository at this point in the history
fix Non static method 'addStep' should not be called statically
  • Loading branch information
alphaolomi authored Feb 14, 2023
1 parent 4743ce5 commit 5d16329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Facades/Onboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use Spatie\Onboard\OnboardingSteps;

/**
* @method OnboardingStep addStep(string $title, string $model = null)
* @method Collection<OnboardingStep> steps(Onboardable $model)
* @method static OnboardingStep addStep(string $title, string $model = null)
* @method static Collection<OnboardingStep> steps(Onboardable $model)
*/
class Onboard extends Facade
{
Expand Down

0 comments on commit 5d16329

Please sign in to comment.