stable

Clone or download

Read-only

request #16192 Type mismatch in pullrequest files representation

Lines added and removed can be "-" for binary files, so it should be a string type. How to test: - When you browse a pull request, you don't get a fatal error on the /api/v1/pull_requests/<id>/files REST route Change-Id: Ibf26c6398d2bcf79424d62b97855e2a8977ac14a

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestFileRepresentation.php +3 −3 Go to diff View file