Conditions | 3 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
45 | 4 | public function getValue(string $key, $value, array $disableTypoToleranceOnAttributes): array |
|
46 | { |
||
47 | 4 | if (is_string($key) && Str::is(self::$disableTypoToleranceOnAttributesKeys, $key)) { |
|
48 | 1 | $disableTypoToleranceOnAttributes[] = $key; |
|
49 | } |
||
50 | |||
51 | 4 | return $disableTypoToleranceOnAttributes; |
|
52 | } |
||
54 |