| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function list($availability = null) |
||
| 23 | { |
||
| 24 | $regions = $this->adapter->get(\sprintf('%s/regions/list?availability=%d', $this->endpoint, $availability)); |
||
| 25 | |||
| 26 | $regions = \json_decode($regions); |
||
| 27 | |||
| 28 | $this->extractMeta($regions); |
||
|
|
|||
| 29 | |||
| 30 | return \array_map(function ($region) { |
||
| 31 | return new RegionEntity($region); |
||
| 32 | }, $regions->regions); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.