Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | 4 | public function crawlStock( |
|
41 | array $symbols, |
||
42 | int $maxNewsToFetch = self::DEFAULT_MAX_NEWS_TO_FETCH, |
||
43 | ): CrawlResult { |
||
44 | 4 | $siteCrawlers = $this->getFactory() |
|
45 | 4 | ->createSiteCrawlers($maxNewsToFetch); |
|
46 | |||
47 | 4 | return $this->getFactory() |
|
48 | 4 | ->createQuoteCrawler(...$siteCrawlers) |
|
49 | 4 | ->crawlStock(...$symbols); |
|
50 | } |
||
52 |