Issue Bug Closed

#91872Core commands do not return int, triggering an error

S P 07/27/20, 08:55 updated 11/26/21, 02:23

Description

  1. fixes this for v10, but in v9 it has to be also int, Symfony is doing this:
$statusCode = $this->execute($input, $output);
if (!\is_int($statusCode)) {
    @trigger_error(sprintf('Return value of "%s::execute()" should always be of the type int since Symfony 4.4, %s returned.', static::class, \gettype($statusCode)), E_USER_DEPRECATED);
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.