Skip to content

Commit

Permalink
TASK: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed May 28, 2024
1 parent 321c138 commit bc656ec
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,15 @@ public function refactor(Node $node): ?Node
return null;
}

$node->args[1]->value = $this->nodeFactory->createClassConstFetch(
'Doctrine\\DBAL\\Platforms\\TrimMode',
'UNSPECIFIED'
);
return $node;

if (! $this->nodeTypeResolver->isMethodStaticCallOrClassMethodObjectType(
$node,
new ObjectType('TYPO3\CMS\Core\Database\Query\Expression\ExpressionBuilder')
new ObjectType('TYPO3\\CMS\\Core\Database\\Query\\Expression\\ExpressionBuilder')
)) {
return null;
}
Expand Down

0 comments on commit bc656ec

Please sign in to comment.