Not sure why my array is not allowed to use a function (OOP)

It’s case sensitive

Chrisir