original_string: public function getUpgrades($context = null) {
          if (! $context) {
                  $context = $this->getContext();
              }
  
          if (isset($this->_upgradeStack[$context])) {
              return $this->_upgradeStack[$context];
          }
          return array();
      }
code: public function getUpgrades($context = null) {
          if (! $context) {
                  $context = $this->getContext();
              }
  
          if (isset($this->_upgradeStack[$context])) {
              return $this->_upgradeStack[$context];
          }
          return array();
      }
code_tokens: public function getUpgrades ( $ context = null ) { if ( ! $ context ) { $ context = $ this -> getContext ( ) ; } if ( isset ( $ this -> _upgradeStack [ $ context ] ) ) { return $ this -> _upgradeStack [ $ context ] ; } return array ( ) ; }
docstring: Retrieve the upgrades for a certain context, will return an empty array when nothing present.
  
  @param string $context
  @return array
docstring_tokens: Retrieve the upgrades for a certain context will return an empty array when nothing present .