kulasinghet / MedEx

Missing function/class method doc comment PHP-D1002
Documentation
Minor
6 occurrences in this check
Doc comment missing for class method getOrderPharm
 66        return $this->quantity;
 67    }
 68
 69    public function getOrderPharm($id) 70    {
 71        $this->getOrder($id);
 72        return $this->pharmacyName;
Doc comment missing for class method getMedQuantiy
 60        return $this->medId;
 61    }
 62
 63    public function getMedQuantiy($id) 64    {
 65        $this->getOrder($id);
 66        return $this->quantity;
Doc comment missing for class method getMedId
 54        $db->close();
 55    }
 56
 57    public function getMedId($id) 58    {
 59        $this->getOrder($id);
 60        return $this->medId;
Doc comment missing for class method getSupOrders
 43        $db->close();
 44    }
 45
 46    public function getSupOrders($name) 47    {
 48        $db = (new Database())->getConnection();
 49        $sql = "SELECT id from pharmacyorder WHERE pharmacyorder.status = '1' && pharmacyorder.supName = '$name'";
Doc comment missing for class method ViewAcceptedOrders
14class SupplierOrdersController extends Controller
15{
16
17    public function ViewAcceptedOrders()18    {
19        $order = new PharmacyOrderModel;
20        $med = new MedicineModel;
Doc comment missing for class method Orders
103        }
104    }
105
106    public function Orders(Request $request)107    {
108        if ($_SESSION['userType'] == 'supplier') {
109