public function getCurrentRelease() {
$current_release = $this->state-...

Contribution Date
Technology
Contribution Project
Contribution Details
public function getCurrentRelease() { $current_release = $this->state->get('environment_indicator.current_release'); if ($current_release !== NULL) { return (string) $current_release; } $deployment_identifier = $this->settings->get('deployment_identifier'); if ($deployment_identifier !== NULL) { return (string) $deployment_identifier; } return NULL; }

This code is returning NULL in starting as there is no state var set for current_release and uncommented deployment_identifier line in settings.php file.

Contribution Author
Files count
0
Patches count
0