removing errors PSR2 routes.php