Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2878'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AbstractWord.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ protected function generateWord()
{
$word = '';
$wordLen = $this->getWordLen();
$vowels = $this->useNumbers ? self::$VN : self::$V;
$consonants = $this->useNumbers ? self::$CN : self::$C;
$vowels = $this->useNumbers ? static::$VN : static::$V;
$consonants = $this->useNumbers ? static::$CN : static::$C;

for ($i=0; $i < $wordLen; $i = $i + 2) {
// generate word with mix of vowels and consonants
Expand Down

0 comments on commit 3c8246c

Please sign in to comment.