Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
30 | public function isOk(): bool |
||
31 | { |
||
32 | |||
33 | $isOk = parent::isOk(); |
||
34 | $stringCheck = [$this->targType, $this->foreignFieldName]; |
||
35 | $checkResult = array_filter($stringCheck, [$this, 'checkStringInput']); |
||
36 | $isOk &= $stringCheck == $checkResult; |
||
37 | |||
38 | return boolval($isOk); |
||
39 | } |
||
48 |