| 1 | <?php |
||
| 11 | class DatabaseConfigure extends Database implements ConfigureInterface |
||
| 12 | { |
||
| 13 | use ConfigureTrait { |
||
| 14 | configure as protected loadConfiguration; |
||
| 15 | } |
||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * Load and apply configurations. |
||
| 21 | * |
||
| 22 | * @param array|string $what is an array with key/value config options |
||
| 23 | * or a file to be included which returns such |
||
| 24 | * an array. |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function configure($what) |
||
| 33 | } |
||
| 34 |
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.