Skip to content

Commit

Permalink
Add missing arguments to empty method call. (#3342)
Browse files Browse the repository at this point in the history
  • Loading branch information
brayfe authored and jmolivas committed Jun 10, 2017
1 parent 03cb470 commit dcf768c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Utils/Create/TermData.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function create(
'vid' => $vocabulary,
'name' => $this->getRandom()->sentences(mt_rand(1, $nameWords), true),
'description' => [
'value' => $this->getRandom()->sentences(),
'value' => $this->getRandom()->sentences(mt_rand(1, $nameWords)),
'format' => 'full_html',
],
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/Create/VocabularyData.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function create(
$vocabulary = $this->entityTypeManager->getStorage('taxonomy_vocabulary')->create(
[
'name' => $this->getRandom()->sentences(mt_rand(1, $nameWords), true),
'description' => $this->getRandom()->sentences(),
'description' => $this->getRandom()->sentences(mt_rand(1, $nameWords)),
'vid' => Unicode::strtolower($this->getRandom()->name()),
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
'weight' => mt_rand(0, 10),
Expand Down

0 comments on commit dcf768c

Please sign in to comment.