| 1 | <?php  | 
            ||
| 10 | final class XliffDumper extends XliffFileDumper  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * Alias for formatCatalogue to provide a BC bridge.  | 
            ||
| 14 | *  | 
            ||
| 15 | * @param MessageCatalogue $messages  | 
            ||
| 16 | * @param string $domain  | 
            ||
| 17 | * @param array $options  | 
            ||
| 18 | *  | 
            ||
| 19 | * @return string  | 
            ||
| 20 | */  | 
            ||
| 21 | public function getFormattedCatalogue(MessageCatalogue $messages, $domain, array $options = [])  | 
            ||
| 29 | }  | 
            ||
| 30 | 
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.