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