original_string: protected function formatAttributeValue(Attribute $attribute)
      {
          $value = $attribute->getValue();
          
          if ($attribute->getType() === Attribute::TYPE_FUNCTION && strlen($value)) {
              return new Expr($value);
          }
          
          return $value;
      }
code: protected function formatAttributeValue(Attribute $attribute)
      {
          $value = $attribute->getValue();
          
          if ($attribute->getType() === Attribute::TYPE_FUNCTION && strlen($value)) {
              return new Expr($value);
          }
          
          return $value;
      }
code_tokens: protected function formatAttributeValue ( Attribute $ attribute ) { $ value = $ attribute -> getValue ( ) ; if ( $ attribute -> getType ( ) === Attribute :: TYPE_FUNCTION && strlen ( $ value ) ) { return new Expr ( $ value ) ; } return $ value ; }
docstring: Formats attributes value
  
  @param Attribute $attribute
  
  @return mixed|Expr
docstring_tokens: Formats attributes value