original_string: public function getValue() {
          $type = (string) $this->element->attributes()->type;
          $type = (empty($type)) ? 'string' : $type;
          $value = (string) $this->element->attributes()->value;
  
          $casterClassName = $this->resolveCasterClassName($type);
  
          /** @type \BuildR\TestTools\Caster\CasterInterface $casterObject */
          $casterObject = new $casterClassName($value);
          return $casterObject->cast();
      }
code: public function getValue() {
          $type = (string) $this->element->attributes()->type;
          $type = (empty($type)) ? 'string' : $type;
          $value = (string) $this->element->attributes()->value;
  
          $casterClassName = $this->resolveCasterClassName($type);
  
          /** @type \BuildR\TestTools\Caster\CasterInterface $casterObject */
          $casterObject = new $casterClassName($value);
          return $casterObject->cast();
      }
code_tokens: public function getValue ( ) { $ type = ( string ) $ this -> element -> attributes ( ) -> type ; $ type = ( empty ( $ type ) ) ? 'string' : $ type ; $ value = ( string ) $ this -> element -> attributes ( ) -> value ; $ casterClassName = $ this -> resolveCasterClassName ( $ type ) ; /** @type \BuildR\TestTools\Caster\CasterInterface $casterObject */ $ casterObject = new $ casterClassName ( $ value ) ; return $ casterObject -> cast ( ) ; }
docstring: Post-processing the node value by additionally specified type
  declaration. If no type is defined, values returned as string.
  
  @return bool|float|int|string
docstring_tokens: Post - processing the node value by additionally specified type declaration . If no type is defined values returned as string .