| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait Includes |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Returns `true` if the given `needle` is in the array or `false` otherwise. |
||
| 14 | * |
||
| 15 | * @param $needle |
||
| 16 | * @param array $options options, including `strict` to also check the type |
||
| 17 | * |
||
| 18 | * @return bool |
||
| 19 | */ |
||
| 20 | 2 | public function includes($needle, array $options = []): bool |
|
| 29 |