| 1 | <?php |
||
| 14 | class DashboardPanelQuery extends ActiveQuery |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @return static |
||
| 18 | */ |
||
| 19 | public function enabled() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return static |
||
| 26 | */ |
||
| 27 | public function orderBySort() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | * @return DashboardPanel[]|array |
||
| 35 | */ |
||
| 36 | public function all($db = null) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return DashboardPanel[]|array |
||
| 43 | */ |
||
| 44 | public function allCanView($db = null) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @inheritdoc |
||
| 58 | * @return DashboardPanel|array|null |
||
| 59 | */ |
||
| 60 | public function one($db = null) |
||
| 64 | } |
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.