original_string: public function getDefaultValues()
      {
          preg_match('/([0-9.]+)([A-Z]{3})/', $this->config['price'], $matches);
  
          $this->defaults['price'] = array(
              'currency' => (!empty($this->defaults['price']['currency']) ? $this->defaults['price']['currency'] : $matches[2]),
              'amount' => (!empty($this->defaults['price']['amount']) ? $this->defaults['price']['amount'] : $matches[1]),
              'vat' => (!empty($this->defaults['price']['vat']) ? $this->defaults['price']['vat'] : null),
          );
  
          return $this->defaults;
      }
code: public function getDefaultValues()
      {
          preg_match('/([0-9.]+)([A-Z]{3})/', $this->config['price'], $matches);
  
          $this->defaults['price'] = array(
              'currency' => (!empty($this->defaults['price']['currency']) ? $this->defaults['price']['currency'] : $matches[2]),
              'amount' => (!empty($this->defaults['price']['amount']) ? $this->defaults['price']['amount'] : $matches[1]),
              'vat' => (!empty($this->defaults['price']['vat']) ? $this->defaults['price']['vat'] : null),
          );
  
          return $this->defaults;
      }
code_tokens: public function getDefaultValues ( ) { preg_match ( '/([0-9.]+)([A-Z]{3})/' , $ this -> config [ 'price' ] , $ matches ) ; $ this -> defaults [ 'price' ] = array ( 'currency' => ( ! empty ( $ this -> defaults [ 'price' ] [ 'currency' ] ) ? $ this -> defaults [ 'price' ] [ 'currency' ] : $ matches [ 2 ] ) , 'amount' => ( ! empty ( $ this -> defaults [ 'price' ] [ 'amount' ] ) ? $ this -> defaults [ 'price' ] [ 'amount' ] : $ matches [ 1 ] ) , 'vat' => ( ! empty ( $ this -> defaults [ 'price' ] [ 'vat' ] ) ? $ this -> defaults [ 'price' ] [ 'vat' ] : null ) , ) ; return $ this -> defaults ; }
docstring: Return default values.
  
  @return array
docstring_tokens: Return default values .