Update model/Aggregate.php

Corrcting the case of a function