phpstan needs a guarantee that the property is set
Differential Revision: https://git.kolab.org/D2764