| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | public function getData() |
||
| 8 | { |
||
| 9 | $this->numbersNode->setNumberConcurso(0) |
||
| 10 | ->setDataConcurso(1) |
||
| 11 | ->setDezenasConcurso([2, 3, 4, 5, 6]) |
||
| 12 | ->setArrecadacaoConcurso(7) |
||
| 13 | ->setTotalGanhadoresConcurso(8) |
||
| 14 | ->setValorAcumuladoConcurso(15); |
||
| 15 | |||
| 16 | parent::loadData($this->numbersNode); |
||
|
|
|||
| 17 | |||
| 18 | return $this->data; |
||
| 19 | } |
||
| 20 | } |
||
| 21 |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()method in theSoncalls the wrong method in the parent class.