| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 57.14% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class LeBonCoinParser extends AbstractParser |
||
| 11 | { |
||
| 12 | protected const PROVIDER = Provider::LEBONCOIN; |
||
| 13 | |||
| 14 | protected const SELECTOR_AD_WRAPPER = 'table[style*="border: solid 1px #e6ebef"]'; |
||
| 15 | protected const SELECTOR_TITLE = 'td:nth-child(2) > a > span:first-of-type'; |
||
| 16 | protected const SELECTOR_LOCATION = 'td:nth-child(2) > a > div > span'; |
||
| 17 | protected const SELECTOR_PHOTO = 'td:nth-child(1) div'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritDoc} |
||
| 21 | */ |
||
| 22 | 1 | protected function parsePhoto(Crawler $crawler): ?string |
|
| 37 |