Skip to content

Commit

Permalink
Fix phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Jun 17, 2022
1 parent 8599dc5 commit a30cff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ parameters:
level: 4
paths:
- src
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
Expand Down
4 changes: 2 additions & 2 deletions src/OnboardingManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OnboardingManager
/**
* All defined onboarding steps.
*
* @var array
* @var \Illuminate\Support\Collection
*/
public $steps;

Expand All @@ -30,7 +30,7 @@ public function __construct($user, OnboardingSteps $onboardingSteps)
/**
* An accessor for the $steps property
*
* @return array
* @return \Illuminate\Support\Collection
*/
public function steps()
{
Expand Down
4 changes: 2 additions & 2 deletions src/OnboardingStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ class OnboardingStep
* The condition on which to determine if the step is complete
* or not. The user class gets passed through to this.
*
* @var callable
* @var callable|null
*/
protected $completeIf;

/**
* The current user model.
*
* @var object
* @var object|null
*/
protected $user;

Expand Down

0 comments on commit a30cff1

Please sign in to comment.