Fixed typo #10882

Missing `?` in method call

Fixes #10882