Returns the ERA for a player.
- int $earned_runs — The number of earned runs given up.
- float $innings_pitched — The number of innings pitched.
- int $innings_per_game — The number of innings per game.
- float | string — The ERA for the player.
- /includes/classes/sports/baseball/baseball-player.php — 54