| Conditions | 4 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function test(array $data = [], $origin = null, array $keys = []): bool |
||
| 16 | { |
||
| 17 | if ( !$data['max'] || $data['mix'] ) { |
||
| 18 | return false; |
||
| 19 | } |
||
| 20 | |||
| 21 | $checkIsMax = ( $data['max'] ); |
||
| 22 | return ( $checkIsMax ? ( $data['max'] > $data['value'] ) : ( $data['min'] < $data['value'] ) ); |
||
| 23 | } |
||
| 24 | } |
||
| 28 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.