Skip to content

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

@gdw96

Description

@gdw96

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.

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