| Total Complexity | 2 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 22 | final class CustomRankingAttribute implements SettingContract  | 
            ||
| 23 | { | 
            ||
| 24 | /**  | 
            ||
| 25 | * @var string[]  | 
            ||
| 26 | */  | 
            ||
| 27 | private static $customRankingKeys = [  | 
            ||
| 28 | '*ed_at',  | 
            ||
| 29 | 'count_*',  | 
            ||
| 30 | '*_count',  | 
            ||
| 31 | 'number_*',  | 
            ||
| 32 | '*_number',  | 
            ||
| 33 | ];  | 
            ||
| 34 | |||
| 35 | /**  | 
            ||
| 36 | * Checks if the given key/value is a 'CustomRanking'.  | 
            ||
| 37 | *  | 
            ||
| 38 | * @param string $key  | 
            ||
| 39 | * @param array|null|string $value  | 
            ||
| 40 | * @param array $customRanking  | 
            ||
| 41 | *  | 
            ||
| 42 | * @return array  | 
            ||
| 43 | */  | 
            ||
| 44 | 4 | public function getValue(string $key, $value, array $customRanking): array  | 
            |
| 53 |