HealthController: Add return statement in new line because `render()` returns nothing
This commit is contained in:
parent
63556849c9
commit
8d55385e38
|
@ -88,7 +88,8 @@ class HealthController extends Controller
|
|||
$this->handleFormatRequest($programStatus);
|
||||
$programStatus = $programStatus->fetchRow();
|
||||
if ($programStatus === false) {
|
||||
return $this->render('not-running', true, null);
|
||||
$this->render('not-running', true, null);
|
||||
return;
|
||||
}
|
||||
$this->view->programStatus = $programStatus;
|
||||
$toggleFeaturesForm = new ToggleInstanceFeaturesCommandForm();
|
||||
|
|
Loading…
Reference in New Issue