Find a Rector rule
Find the best Rector rule to solve your problem. Searching through 1074 rules.
Found 1 rule. That's the one: Clear
PHP 8.3
1 match
Add type to constants based on their value
final class SomeClass
{
- public const TYPE = 'some_type';
+ public const string TYPE = 'some_type';
}