Skip to content

Commit

Permalink
WiP
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Dec 17, 2023
1 parent 6a50f73 commit 58efa9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Utils/ParsedDOM/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use DOMNode;
use const SORT_STRING;
use function count, ksort, preg_match;
use s9e\SweetDOM\Workarounds\Element as SweetElement;
use s9e\SweetDOM\PatchedNodes\Element as SweetElement;

class Element extends SweetElement
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Configurator/Helpers/TemplateModifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function ($m)
'/\\$[0-9]+/',
function ($m, $node)
{
return ['literal', str_replace('Workarounds\\', '', get_class($node))];
return ['literal', str_replace('PatchedNodes\\', '', get_class($node))];
},
'<b id="s9e\\SweetDOM\\Attr">s9e\\SweetDOM\\Text</b>'
],
Expand Down

0 comments on commit 58efa9b

Please sign in to comment.