Update PublishTemplatesCommand.php