Skip to content

Commit

Permalink
FIx PhpStan error.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Mar 12, 2022
1 parent 0509c94 commit 830e521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function hydrateValue(\DOMElement $node, string $key): array
for ($i = 0; true; $i++) {
$item = $node->getElementsByTagName($key)->item($i);
if ($item !== null) {
$return[] = $item->nodeValue;
$return[] = (string) $item->nodeValue;
} else {
break;
}
Expand Down

0 comments on commit 830e521

Please sign in to comment.