annotations icon indicating copy to clipboard operation
annotations copied to clipboard

Problem with annotations

Open dfrnks opened this issue 6 years ago • 1 comments

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.

dfrnks avatar Jun 29 '18 14:06 dfrnks

I have the same issue with ^3.1.

fortael avatar May 11 '19 19:05 fortael