Skip to content

Commit

Permalink
fix missing typehint,
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch committed Aug 11, 2023
1 parent 0128747 commit 18a9d69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Xsl/Node/AttributeExpandText.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public function transform(DOMElement $element): void

$childrenQuery = new \DOMXPath($element->ownerDocument);
$elements = $childrenQuery->query('.//text()', $element);

/** @var \DOMText $element */
foreach ($elements as $element) {
$overwritesQuery = new \DOMXPath($element->ownerDocument);
$nearestExpand = $overwritesQuery->evaluate(
Expand Down

0 comments on commit 18a9d69

Please sign in to comment.