Skip to content

Problem with annotations #69

@dfrnks

Description

@dfrnks

I have a problem if I used this kind off annotation

/**
 * @export
 * @request.put
 *
 * @param string $idloja
 * @param string $idtransacao
 * @param float $valor
 * @return PaymentStatusClass
 * @throws Exception
 */
public function cancelPayment(string $idloja, string $idtransacao, float $valor = 0.00){

this gave me a error Raw value must be float. Invalid value '' given.
if I change @param float $valor for @param string $valor it's work, but the code is incorrect, because I wait for float and not string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions