Update PublishCommand.php