Update UrlGenerator.php

Added camelcase for variables