Update Object.php

Incorrect reference to property where method was meant.