<?php str_contains(string $haystack, string $needle): bool
<?php ...$namesToCheck, ...array_values(array_filter( explode(PHP_EOL, $docComment), fn (string $line): bool => ! str_contains($line, '* @', ))), ]; }
<?php ...$namesToCheck, ...array_values(array_filter( explode(PHP_EOL, $docComment), fn (string $line): bool => ! str_contains($line, '* @', ))), ]; } }
<?php $lines = array_values(array_filter( array_map( fn (string $line, int $lineNumber): ?int => str_contains($line, $misspellingWord) ? $lineNumber : null, $contentsArray, $contentsArrayLines, ),