Fixed typo

The `PropertyAccess::getPropertyAccessor()` is deprecated.