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

DebugCommand return value #123

Open
hafkenscheid opened this issue Jun 27, 2020 · 4 comments
Open

DebugCommand return value #123

hafkenscheid opened this issue Jun 27, 2020 · 4 comments

Comments

@hafkenscheid
Copy link

When using the debug command (debug:tactician), I get the following error:

In Command.php line 258:
   Return value of "League\Tactician\Bundle\Command\DebugCommand::execute()" must be of the type int, "NULL" returned.
@rosstuck
Copy link
Member

rosstuck commented Jul 1, 2020

Hmm, can you let me know what Symfony version you're using? I think they began requiring a return value in 5+ so this is likely fixed by adding a return 0 at the end of the DebugCommand...

@hafkenscheid
Copy link
Author

Jup, SF 5.0
Furthermore, the docs are also not very up to date with SF5.0

@rosstuck
Copy link
Member

rosstuck commented Jul 2, 2020 via email

@PabloKowalczyk
Copy link
Contributor

@hafkenscheid Is it solved by #130?

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

3 participants