| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 12 | abstract class StringPrepMatchingRule extends MatchingRule  | 
            ||
| 13 | { | 
            ||
| 14 | /**  | 
            ||
| 15 | * String preparer.  | 
            ||
| 16 | *  | 
            ||
| 17 | * @var StringPreparer  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $_prep;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Constructor.  | 
            ||
| 23 | *  | 
            ||
| 24 | * @param StringPreparer $preparer  | 
            ||
| 25 | */  | 
            ||
| 26 | 34 | public function __construct(StringPreparer $preparer)  | 
            |
| 27 |     { | 
            ||
| 28 | 34 | $this->_prep = $preparer;  | 
            |
| 29 | 34 | }  | 
            |
| 30 | |||
| 31 | /**  | 
            ||
| 32 |      * {@inheritdoc} | 
            ||
| 33 | */  | 
            ||
| 34 | 34 | public function compare($assertion, $value): ?bool  | 
            |
| 39 | }  | 
            ||
| 40 | }  | 
            ||
| 41 |