Update Generator.php

Avoid php warnings