Fix typo in displaySummary method definition