feat(user): fully support the Visible Role field #6972
ci.yml
on: pull_request
Node.js Setup
23s
PHP Setup
15s
Matrix: Node.js Checks
Matrix: PHP Checks
Annotations
3 errors
PHP Checks (analyse):
app/Community/Concerns/ActsAsCommunityMember.php (in context of class App/Models/User)#L83
Method App\Models\User::displayableRoles() should return Illuminate\Database\Eloquent\Relations\BelongsToMany<Spatie\Permission\Models\Role> but returns Illuminate\Database\Eloquent\Relations\BelongsToMany<Illuminate\Database\Eloquent\Model>.
|
PHP Checks (analyse):
app/Community/Controllers/UserSettingsController.php#L62
Call to an undefined method App\Models\Role::map().
|
PHP Checks (analyse)
Process completed with exit code 1.
|