syntax error in PostController.php