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