Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with annotations #69

Open
dfrnks opened this issue Jun 29, 2018 · 1 comment
Open

Problem with annotations #69

dfrnks opened this issue Jun 29, 2018 · 1 comment

Comments

@dfrnks
Copy link

dfrnks commented Jun 29, 2018

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.

@fortael
Copy link

fortael commented May 11, 2019

I have the same issue with ^3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants