When writing Laravel console commands, there are some constants available for return values in the base Symfony command. They make it much easier to see what's happening!

class MyCommand extends Command
{
    public function handle()
    {
        // Instead of doing this
        return 1;

        // Do one of these instead:
        return self::SUCCESS;
        return self::FAILURE;
        return self::INVALID;
    }
}