The expression return $this->getMessage('Location_X') could return the type array which is incompatible with the type-hinted return double|null. Consider adding an additional type-check to rule them out.
The expression return $this->getMessage('Location_Y') could return the type array which is incompatible with the type-hinted return double|null. Consider adding an additional type-check to rule them out.
The expression return $this->getMessage('Scale') could return the type array which is incompatible with the type-hinted return double|null. Consider adding an additional type-check to rule them out.
The expression return $this->getMessage('Label') could return the type array which is incompatible with the type-hinted return null|string. Consider adding an additional type-check to rule them out.