src/Crawler/UserEventCrawler.php
public function getYearPages(string $username, ?int $year): int
    {
        $node = $this->crawlUrl($username, $year);

        if (null === $node) {
            return 0;
        }

        return $this->countListPages($node);
    }
public function getYearPages(string $username, ?int $year): int
    {
        $node = $this->crawlUrl($username, $year);

        if (null === $node) {
            return 0;
        }

        return $this->countListPages($node);
    }
{@inheritdoc}