Extend-user problems with PHP 7.2

I ran into a problem with extend-user that the function createAuxIfNotExists()
in UserFrosting\Sprinkle\ExtendUser\Database\Models was failing.
I think this may be a PHP7.2 compatibility issue as I thought it worked with 7.0.

I replaced this line
116: if ($this->auxType && !count($this->aux)) {
by this
116: if ($this->auxType && (!isset($this->aux) || !count(get_object_vars($this->aux)))) {

Hmm, interesting. Anything in the PHP 7.2 upgrade docs that might explain this?

Any related errors in the logs? Might shed some insight.