Your project should not use invalid return types
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_return_typehint
- /**
- * Gets the thousand separator.
- */
- private function getThousandsSep(): string
- {
- return $this->thousandsSep ??= \localeconv()['thousands_sep'];
- }
- }
laurentmuller