Ah, the classic "fix it just to shut the error up" without actually looking at the cause. Lowest bidder contractor probably.
https://i.imgur.com/oCqmZZ3.png
"just to shut the error up" is about right.
I'm not intedning to demean non-native English speakers or their ability to write code - but this looks pretty bad from a QA standpoint.
edit: elsewhere in the thread its shown most of the software engineering team is in China, which explains this.