Skip to content

Commit

Permalink
Use YAML notation
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldangenent committed Aug 12, 2016
1 parent 62a5865 commit 3edaf53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ _Using `<terms>` is not required. You could also provide an array of integers yo
| `amount` | `1` | No

### ACF
```
```yaml
Trendwerk\Faker\Post:
post{1..100}:
post_content: <paragraphs(3, true)>
Expand All @@ -109,7 +109,7 @@ Generates 100 posts with a title, content, and two filled ACF fields: `name` and
#### Duplicate field names
In ACF, it is possible to have multiple fields with the same name. This could cause formatting conflicts when faking data with this library. If you have two fields with the same name, **using the unique field key is recommended**:

```
```yaml
Trendwerk\Faker\Post:
post{1..100}:
post_content: <paragraphs(3, true)>
Expand Down

0 comments on commit 3edaf53

Please sign in to comment.