| 1 | <?php |
||
| 7 | class TaisiyaStyle extends SymfonyStyle |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Outputs a replacable line to the cli. |
||
| 11 | * You can continue replacing the line until TRUE is passed as the second parameter |
||
| 12 | * in order to indicate you are done modifying the line. |
||
| 13 | * @param $messages |
||
| 14 | * @param bool $endline Whether the line is done being replaced |
||
| 15 | * @param int $type |
||
| 16 | */ |
||
| 17 | public function writeReplace($messages, bool $endline = false, int $type = self::OUTPUT_NORMAL): void |
||
| 35 | } |
||
| 36 |
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.