@@ -372,8 +372,8 @@ public function testIteratePathMultipleNamespaces(): void
372372 }
373373
374374 /**
375- * @param array <list<string>|string> $expected
376- * @param array <list<string>|string>|null $expectedOverride
375+ * @param list <list<string>|string> $expected
376+ * @param list <list<string>|string>|null $expectedOverride
377377 */
378378 #[DataProvider('provideIterateXpath ' )]
379379 public function testIterateWithSimpleLoadString (string $ file , bool $ withNamespaces , string $ path , array $ expected , ?array $ expectedOverride = null ): void
@@ -412,8 +412,8 @@ public function testIterateWithSimpleLoadString(string $file, bool $withNamespac
412412 }
413413
414414 /**
415- * @param array <list<string>|string> $expected
416- * @param array <list<string>|string>|null $expectedOverride
415+ * @param list <list<string>|string> $expected
416+ * @param list <list<string>|string>|null $expectedOverride
417417 */
418418 #[DataProvider('provideIterateXpath ' )]
419419 public function testIterateWithXpath (string $ file , bool $ withNamespaces , string $ path , array $ expected , ?array $ expectedOverride = null ): void
@@ -562,6 +562,17 @@ public static function provideIterateXpath(): iterable
562562 [],
563563 ],
564564 ];
565+
566+ yield [
567+ 'file ' => 'sample_08.xml ' ,
568+ 'withNamespaces ' => true ,
569+ 'path ' => 'namespace::* ' ,
570+ 'expected ' => [
571+ [],
572+ [],
573+ [],
574+ ],
575+ ];
565576 }
566577
567578 public function testRealUsage (): void
0 commit comments