ambta/DoctrineEncryptBundle

Error 'doctrine:encrypt:satus' return null expected int.

Opened this issue · 0 comments

gdw96 commented

When I execute doctrine:encrypt:status command, everyting is ok, but at the end, this error: "Return value of "Ambta\DoctrineEncryptBundle\Command\DoctrineEncryptStatusCommand::execute()" must be of the type int, "null" returned.".

To fix this, just add return 0; or return Command::SUCCESS; (much better) in DoctrineEncryptStatusCommand.php. I made a pull request but it went unanswered.