Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix call to an undefined method Role::getRoleClass #2411

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Apr 26, 2023

./vendor/bin/phpstan analyse
Note: Using configuration file laravel-permission/phpstan.neon.dist.
 33/33 [============================] 100%

 ------ -----------------------------------------------------------------------------------
  Line   src\Traits\HasPermissions.php (in context of class Spatie\Permission\Models\Role)
 ------ -----------------------------------------------------------------------------------
  104    Call to an undefined method Spatie\Permission\Models\Role::getRoleClass().
 ------ -----------------------------------------------------------------------------------

 [ERROR] Found 1 error

@drbyte drbyte merged commit 9e9190a into spatie:main Apr 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants