Update ResourceController.php

CS fix.