| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 26 | public function restructure(FormatterOptions $options) | ||
| 27 |     { | ||
| 28 | $originalData = $this->getArrayCopy(); | ||
| 29 | $data = $this->extractData($originalData); | ||
| 30 | $tableTranformer = $this->createTableTransformation($data, $options); | ||
| 31 | $tableTranformer->setOriginalData($this); | ||
| 32 | return $tableTranformer; | ||
| 33 | } | ||
| 34 | |||
| 40 | 
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.