Is your feature request related to a problem?
Currently, there is no rule that checks whether there is a space after the type casting. As a result, several spellings exist.
Without a space:
return (int)$lowStockThreshold;
With spaces:
return (string) max($lowStockThresholds);
Describe the desired solution
Add a rule that checks that there is a space after the type casting.
Describe the alternatives that you have considered
None.
Additional context
No response
Code of Conduct