Skip to content

Commit

Permalink
TASK: Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed Apr 4, 2024
1 parent 4672999 commit db679a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/TYPO313/v0/SubstituteItemFormElIDRector.php
Expand Up @@ -54,6 +54,10 @@ public function getNodeTypes(): array
*/
public function refactorWithScope(Node $node, Scope $scope)
{
if($node->dim === null) {
return null;
}

$key = $this->valueResolver->getValue($node->dim);

if ($key !== 'itemFormElID') {
Expand Down

0 comments on commit db679a5

Please sign in to comment.