Update Controller.php

Removed non-integer check