Skip to content

Commit

Permalink
make refactorWithClass() private as it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 19, 2024
1 parent fe31e19 commit b2613ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function refactor(Node $node): ?Node
return null;
}

public function refactorWithClass(New_ $new, string $className): MethodCall|StaticCall|null
private function refactorWithClass(New_ $new, string $className): MethodCall|StaticCall|null
{
// no arg? ::now()
$carbonFullyQualified = new FullyQualified($className);
Expand Down

0 comments on commit b2613ba

Please sign in to comment.