src/Validators/PasswordBlacklistValidator.php
private function getBlacklistPasswords(): Generator
    {
        $fh = fopen($this->file, 'rb');

        while (($password = fgets($fh)) !== false) {
            yield trim($password);
        }

        fclose($fh);
    }
private function getBlacklistPasswords(): Generator
    {
        $fh = fopen($this->file, 'rb');

        while (($password = fgets($fh)) !== false) {
            yield trim($password);
        }

        fclose($fh);
    }
private function getBlacklistPasswords ( ) : Generator { $ fh = fopen ( $ this -> file , 'rb' ) ; while ( ( $ password = fgets ( $ fh ) ) !== false ) { yield trim ( $ password ) ; } fclose ( $ fh ) ; }
Iterates over and yields each blacklisted password

@return Generator
Iterates over and yields each blacklisted password