Skip to content

API: Started building comments API endpoints #10638

API: Started building comments API endpoints

API: Started building comments API endpoints #10638

Triggered via pull request October 23, 2025 15:53
Status Failure
Total duration 54s
Artifacts

analyse-php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build
Process completed with exit code 1.
build: app/Users/Controllers/RoleApiController.php#L18
Property BookStack\Users\Controllers\RoleApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Search/SearchApiController.php#L12
Property BookStack\Search\SearchApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Permissions/ContentPermissionApiController.php#L19
Property BookStack\Permissions\ContentPermissionApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Entities/Controllers/PageApiController.php#L16
Property BookStack\Entities\Controllers\PageApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Entities/Controllers/ChapterApiController.php#L18
Property BookStack\Entities\Controllers\ChapterApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Activity/Controllers/CommentApiController.php#L26
Property BookStack\Activity\Controllers\CommentApiController::$rules (array<string, array<string>>) does not accept default value of type array<string, array<string, list<string>>>.
build: app/Activity/CommentRepo.php#L29
Method BookStack\Activity\CommentRepo::getVisibleById() should return BookStack\Activity\Models\Comment but returns Illuminate\Database\Eloquent\Model.