| Total Complexity | 5 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 17 | class WikiTextValidator implements ValidatorInterface  | 
            ||
| 18 | { | 
            ||
| 19 | /** @var string|null */  | 
            ||
| 20 | protected $wikiText;  | 
            ||
| 21 | /**  | 
            ||
| 22 | * @var string  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $oldWikiText;  | 
            ||
| 25 | /**  | 
            ||
| 26 | * @var LoggerInterface  | 
            ||
| 27 | */  | 
            ||
| 28 | protected $log;  | 
            ||
| 29 | /**  | 
            ||
| 30 | * @var string  | 
            ||
| 31 | */  | 
            ||
| 32 | protected $title;  | 
            ||
| 33 | /**  | 
            ||
| 34 | * @var DbAdapterInterface  | 
            ||
| 35 | */  | 
            ||
| 36 | protected $db;  | 
            ||
| 37 | |||
| 38 | public function __construct(?string $wikiText, string $oldWikiText, LoggerInterface $logger, string $title, DbAdapterInterface $db)  | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 | public function validate(): bool  | 
            ||
| 62 | }  | 
            ||
| 63 | }  |