Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 20, 2024
1 parent 9bab626 commit d2dafe6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ public function refactor(Node $node): ?Node

$modeArg = $args[2]->value;
$hasChanged = false;
if ($modeArg instanceof ClassConstFetch && $modeArg->class instanceof FullyQualified && $this->isName($modeArg->class, 'RoundingMode')) {
if ($modeArg instanceof ClassConstFetch && $modeArg->class instanceof FullyQualified && $this->isName(
$modeArg->class,
'RoundingMode'
)) {
if (! $modeArg->name instanceof Identifier) {
return null;
}
Expand Down

0 comments on commit d2dafe6

Please sign in to comment.