We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9c57c commit 61d95b8Copy full SHA for 61d95b8
rules/Php85/Rector/FuncCall/OrdSingleByteRector.php
@@ -83,11 +83,11 @@ public function refactor(Node $node): ?Node
83
$value = $this->valueResolver->getValue($argExpr);
84
$isInt = is_int($value);
85
86
- if ($argExpr instanceof String_ && strlen($argExpr->value) === 1){
+ if ($argExpr instanceof String_ && strlen($argExpr->value) === 1) {
87
return null;
88
}
89
90
- if ($argExpr instanceof Int_ && strlen((string) $argExpr->value) === 1){
+ if ($argExpr instanceof Int_ && strlen((string) $argExpr->value) === 1) {
91
92
93
0 commit comments