Method::getExampleByType is broken (beyond repair?)
Open
bug
- Dominant language
- CoffeeScript
- Stars
- 30
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
1. Method::getExampleByType uses `$this->body` which doesn't exist. It should use `$this->bodyList` instead.
2. `$this->bodyList` contains `BodyInterface` elements, but unfortunately BodyInterface is rather limited, so it's impossible to check if it has an example without widening the interface.
Since the same thing can be achieved without using this helper method, I suggest this method is removed (or fixed).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.