diff --git a/src/Zizaco/FactoryMuff/FactoryMuff.php b/src/Zizaco/FactoryMuff/FactoryMuff.php index 77a69a5..59c125c 100644 --- a/src/Zizaco/FactoryMuff/FactoryMuff.php +++ b/src/Zizaco/FactoryMuff/FactoryMuff.php @@ -161,7 +161,7 @@ private function generateAttr( $kind ) // Pick some words case 'text': - for ( $i=0; $i < ( (int)date( 'U' )+rand(0,5) % 8 ) + 2; $i++ ) { + for ( $i=0; $i < ( ((int)date( 'U' )+rand(0,5)) % 8 ) + 2; $i++ ) { $result .= array_pop( $this->wordlist )." "; }