mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2273: [GH-566] Added missing return statement to AbstractCommand. #2855
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 3, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of BenMorel:
Url: https://github.com/doctrine/doctrine2/pull/566
Message:
The
AbstractCommand::execute()method should return aninteger, ornull.Although in PHP, omitting the
returnstatement is equivalent to returningnull, it is recommended to put an explicitreturnto clearly differentiate it fromreturn void.I've added
return 0;here, keeping the existent behavior.@doctrinebot commented on GitHub (Feb 3, 2013):
Comment created by @beberlei:
A related Github Pull-Request [GH-566] was closed
https://github.com/doctrine/doctrine2/pull/566
@doctrinebot commented on GitHub (Feb 5, 2013):
Comment created by @FabioBatSilva:
Merged :
d3cbdfcafa@doctrinebot commented on GitHub (Feb 5, 2013):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Apr 22, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-566] was closed:
https://github.com/doctrine/dbal/pull/566