Skip to content

Commit dff99df

Browse files
committed
Get rid of unused xpath functions
1 parent 7c330e3 commit dff99df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Xml/Configurator/FlattenXsdImports.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use function VeeWee\Xml\Dom\Manipulator\Element\copy_named_xmlns_attributes;
2525
use function VeeWee\Xml\Dom\Manipulator\Node\append_external_node;
2626
use function VeeWee\Xml\Dom\Manipulator\Node\remove;
27-
use function VeeWee\Xml\Dom\Xpath\Configurator\functions;
2827

2928
/**
3029
* This class deals with xsd:import, xsd:include and xsd:redefine tags.
@@ -240,7 +239,7 @@ private function fixRemovedDefaultXmlnsDeclarationsDuringImport(DOMElement $targ
240239
*/
241240
private function rearrangeImportsAsFirstElements(Document $xml): void
242241
{
243-
$xpath = $xml->xpath(new WsdlPreset($xml), functions(['array_reverse']));
242+
$xpath = $xml->xpath(new WsdlPreset($xml));
244243
$imports = $xpath
245244
->query('//schema:import')
246245
->expectAllOfType(DOMElement::class);

0 commit comments

Comments
 (0)