diff --git a/src/NodaWikidataFetcher.php b/src/NodaWikidataFetcher.php index bfe7ebc..f3ef93e 100644 --- a/src/NodaWikidataFetcher.php +++ b/src/NodaWikidataFetcher.php @@ -287,7 +287,7 @@ final class NodaWikidataFetcher { $part1 = substr($input, 0, strpos($input, ".mw-parser-output")); $part2 = substr($input, strpos($input, "}", strpos($input, ".mw-parser-output")) + 1); $input = $part1 . $part2; - $i++; + ++$i; if ($i === 30) break; }