| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | 80 | public static function isSeparator($string, $mimeField) |
|
| 46 | { |
||
| 47 | $separatorList = array( |
||
| 48 | 80 | self::VARIANT_SEPARATOR, |
|
| 49 | 80 | self::PARAMS_SEPARATOR, |
|
| 50 | 80 | self::PARAMS_KV_SEPARATOR |
|
| 51 | ); |
||
| 52 | |||
| 53 | 80 | return in_array($string, $separatorList) || ($mimeField && Tokens::MIME_SEPARATOR === $string); |
|
| 54 | } |
||
| 56 |