Skip to content

Commit f2adc26

Browse files
committed
Fix PHP 7.3 CI checks
1 parent 63bcba1 commit f2adc26

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/SbWereWolf/XmlNavigator/Extraction/PrettyPrintComposer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ private static function collectAttributes(XMLReader $reader): array
257257
return $attributes;
258258
}
259259

260+
/**
261+
* @param array<mixed, mixed> $value
262+
*/
260263
private static function isList(array $value): bool
261264
{
262265
return $value === array_values($value);

src/SbWereWolf/XmlNavigator/Navigation/XmlElement.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ private static function isHierarchySequence($value): bool
260260
return true;
261261
}
262262

263+
/**
264+
* @param array<mixed, mixed> $value
265+
*/
263266
private static function isList(array $value): bool
264267
{
265268
return $value === array_values($value);

0 commit comments

Comments
 (0)