original_string: public function getVersionSteps()
      {
          if ($this->_versionSteps === null) {
              $currentVersion = Yii::$app->session->get(self::SESSION_VERSION, 0);
              $versionSteps = [];
              foreach ($this->steps as $version => $steps) {
                  if (Helper::compareVersions(explode('.', $currentVersion), explode('.', $version)) == '<') {
                      $versionSteps += $steps;
                  }
              }
              $this->_versionSteps = $versionSteps;
          }
          return $this->_versionSteps;
      }
code: public function getVersionSteps()
      {
          if ($this->_versionSteps === null) {
              $currentVersion = Yii::$app->session->get(self::SESSION_VERSION, 0);
              $versionSteps = [];
              foreach ($this->steps as $version => $steps) {
                  if (Helper::compareVersions(explode('.', $currentVersion), explode('.', $version)) == '<') {
                      $versionSteps += $steps;
                  }
              }
              $this->_versionSteps = $versionSteps;
          }
          return $this->_versionSteps;
      }
code_tokens: public function getVersionSteps ( ) { if ( $ this -> _versionSteps === null ) { $ currentVersion = Yii :: $ app -> session -> get ( self :: SESSION_VERSION , 0 ) ; $ versionSteps = [ ] ; foreach ( $ this -> steps as $ version => $ steps ) { if ( Helper :: compareVersions ( explode ( '.' , $ currentVersion ) , explode ( '.' , $ version ) ) == '<' ) { $ versionSteps += $ steps ; } } $ this -> _versionSteps = $ versionSteps ; } return $ this -> _versionSteps ; }
docstring: Returns update steps from next new version.
  @return array
  @since 0.2
docstring_tokens: Returns update steps from next new version .