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