Skip to content

Commit e92e930

Browse files
committed
Fix PHP 8.0 CI checks
1 parent 21989d3 commit e92e930

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
@@ -259,6 +259,9 @@ private static function isHierarchySequence(mixed $value): bool
259259
return true;
260260
}
261261

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

0 commit comments

Comments
 (0)