Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Dec 10, 2024
1 parent d040063 commit 2df5562
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/9.0/converter/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This method sets the optional attribute name for the field name on the HTML `td`
<p class="message-info">New feature introduced in version <code>9.20.0</code></p>

```php
public HTMLConverter::formatter(?callback $formatter): mixed
public HTMLConverter::formatter(?callable $formatter): self
```

This method allow to apply a callback prior to converting your collection individual item.
Expand Down
2 changes: 1 addition & 1 deletion docs/9.0/converter/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $converter->indentSize; //returns the value used
### Json encode formatter

```php
public JsonConverter::formatter(?callback $formatter): mixed
public JsonConverter::formatter(?callable $formatter): self
```

This method allow to apply a callback prior to `json_encode` your collection individual item.
Expand Down
2 changes: 1 addition & 1 deletion docs/9.0/converter/xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This method sets the XML field name and optionally the attribute name for the fi
<p class="message-info">New feature introduced in version <code>9.20.0</code></p>

```php
public XMLConverter::formatter(?callback $formatter): mixed
public XMLConverter::formatter(?callable $formatter): self
```

This method allow to apply a callback prior to converting your collection individual item.
Expand Down

0 comments on commit 2df5562

Please sign in to comment.