| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class SystemsController extends Controller |
||
| 9 | { |
||
| 10 | public function __construct() |
||
| 13 | } |
||
| 14 | |||
| 15 | // Allow the user to select a category to view |
||
| 16 | public function index() |
||
| 17 | { |
||
| 18 | echo 'select category'; |
||
| 19 | } |
||
| 20 | |||
| 21 | // Select the system type for the given category |
||
| 22 | public function selectSys($cat) |
||
| 25 | } |
||
| 26 | |||
| 27 | // Show the details of the selected system |
||
| 28 | public function details($cat, $sys) |
||
| 31 | } |
||
| 32 | } |
||
| 33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.