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.
I have a problem if I used this kind off annotation
this gave me a error
Raw value must be float. Invalid value '' given.if I change
@param float $valorfor@param string $valorit's work, but the code is incorrect, because I wait for float and not string.