| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Fibonacci extends FibonacciIterator implements GeneratorInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | */ |
||
| 16 | public function generator(): Generator |
||
| 17 | { |
||
| 18 | return $this->get(); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The generator. |
||
| 23 | * |
||
| 24 | * @return Generator<int> |
||
| 25 | */ |
||
| 26 | protected function get(): Generator |
||
| 37 | } |
||
| 38 | } |
||
| 40 |