Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | abstract class AdminPageFrameworkLoader_AdminPage_RootBase { |
||
15 | |||
16 | /** |
||
17 | * Stores callback method names. |
||
18 | * |
||
19 | * @since 3.5.3 |
||
20 | */ |
||
21 | protected $aMethods = array( |
||
22 | 'replyToLoadPage', |
||
23 | 'replyToDoPage', |
||
24 | 'replyToDoAfterPage', |
||
25 | 'replyToLoadTab', |
||
26 | 'replyToDoTab', |
||
27 | 'validate', |
||
28 | ); |
||
29 | |||
30 | /** |
||
31 | * Handles callback methods. |
||
32 | * @since 3.5.3 |
||
33 | * @return mixed |
||
34 | */ |
||
35 | public function __call( $sMethodName, $aArguments ) { |
||
49 | ); |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * A user constructor. |
||
54 | * @since 3.5.3 |
||
55 | * @return void |
||
56 | */ |
||
57 | protected function construct( $oFactory ) {} |
||
60 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.