kulasinghet / MedEx

Function call parameters are inconsistent PHP-W1020
Bug risk
Critical
2 occurrences in this check
Result of function header (void) is used
115                return header(self::login);
116            }
117        } else {
118            return header(self::login);119        }
120    }
121
Result of function header (void) is used
112            } else if ($request->isPost()) {
113                $this->render("supplier/orders.php");
114            } else {
115                return header(self::login);116            }
117        } else {
118            return header(self::login);