fossasia/engelsystem

View on GitHub
includes/model/UserDriverLicenses_model.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Method UserDriverLicenses_create has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

function UserDriverLicenses_create($user_id, $has_car, $has_license_car, $has_license_3_5t_transporter, $has_license_7_5t_truck, $has_license_12_5t_truck, $has_license_forklift) {
Severity: Major
Found in includes/model/UserDriverLicenses_model.php - About 50 mins to fix

    Method UserDriverLicenses_update has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function UserDriverLicenses_update($user_id, $has_car, $has_license_car, $has_license_3_5t_transporter, $has_license_7_5t_truck, $has_license_12_5t_truck, $has_license_forklift) {
    Severity: Major
    Found in includes/model/UserDriverLicenses_model.php - About 50 mins to fix
      Category
      Status