Update IndexControllerFactory.php

I got an error without this line.