Skip to content

Commit

Permalink
Generate a larger amount of text before substr.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrobertson committed Jul 6, 2014
1 parent ff6fb6f commit a51e022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zizaco/FactoryMuff/Kind/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function generate()

// Generate a large amount of text. The reason for this is that
// faker uses a maximum length, and not an exact length. We then substr this
$text = $this->faker->text($length * 3);
$text = $this->faker->text($length * 5);

return substr($text, 0, $length);
}
Expand Down

0 comments on commit a51e022

Please sign in to comment.