feat(user): fully support the Visible Role field #6970
ci.yml
on: pull_request
Node.js Setup
21s
PHP Setup
25s
Matrix: Node.js Checks
Matrix: PHP Checks
Annotations
5 errors
PHP Checks (test)
Process completed with exit code 1.
|
PHP Checks (analyse)
The job was canceled because "test" failed.
|
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)
The operation was canceled.
|