Skip to content

Commit

Permalink
Merge branch 'hotfix/5.14.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdenardis committed Jan 15, 2019
2 parents 74fd605 + 196902e commit f07fe0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions factories/FooterContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,25 @@ public function __construct(Factory $faker)
public function create($limit = 1, $flatten = false, $options = [])
{
for ($i = 1; $i <= $limit; $i++) {
$title = '';

if ($i == 2) {
$title = '<h2><a href="'.$this->faker->url.'">'.$this->faker->words(3, true).'</a></h2>';
} elseif ($i == 3) {
$title = '<h2>'.$this->faker->words(3, true).'</h2>';
}

$data[$i] = [
'link' => '/',
'title' => $this->faker->sentence,
'description' => '
<p>
'description' =>
$title.
'<p>
' .$this->faker->name.'<br />
' .$this->faker->streetAddress.'<br />
' .$this->faker->city.', '.$this->faker->state.' '.$this->faker->postcode.'<br />
<a href="' .$this->faker->url. '">Map</a>
</p>
',
<a href="'.$this->faker->url.'">'.$this->faker->word.'</a>
</p>',
];

$data[$i] = array_replace_recursive($data[$i], $options);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "base",
"private": true,
"version": "5.13.1",
"version": "5.13.2",
"description": "",
"scripts": {
"dev": "npm run development",
Expand Down

0 comments on commit f07fe0d

Please sign in to comment.