Skip to content

feat(user): fully support the Visible Role field #6972

feat(user): fully support the Visible Role field

feat(user): fully support the Visible Role field #6972

Triggered via pull request January 21, 2025 01:15
Status Failure
Total duration 4m 41s
Artifacts

ci.yml

on: pull_request
Node.js Setup
23s
Node.js Setup
PHP Setup
15s
PHP Setup
Matrix: Node.js Checks
Matrix: PHP Checks
Fit to window
Zoom out
Zoom in

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.