1 | <?php |
||
20 | final class XliffDumper extends XliffFileDumper |
||
21 | { |
||
22 | /** |
||
23 | * Alias for formatCatalogue to provide a BC bridge. |
||
24 | * |
||
25 | * @param MessageCatalogue $messages |
||
26 | * @param string $domain |
||
27 | * @param array $options |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | 1 | public function getFormattedCatalogue(MessageCatalogue $messages, $domain, array $options = []) |
|
39 | } |
||
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 theSon
calls the wrong method in the parent class.