Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 16, 2024
1 parent 9039239 commit 22f9900
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\Declare_;
use PhpParser\Node\Stmt\DeclareDeclare;
use PhpParser\Node\Stmt\InlineHTML;
use PhpParser\Node\Stmt\Nop;
use Rector\ChangesReporting\ValueObject\RectorWithLineChange;
use Rector\Contract\PhpParser\Node\StmtsAwareInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/ValueObject/Application/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function containsHTML(): bool

$nodeFinder = new NodeFinder();

$this->containsHtml = (bool) $nodeFinder->findFirstInstanceOf($this->getOldStmts(), InlineHTML::class);
$this->containsHtml = (bool) $nodeFinder->findFirstInstanceOf($this->oldStmts, InlineHTML::class);
return $this->containsHtml;
}
}

0 comments on commit 22f9900

Please sign in to comment.