Skip to content

Commit 42c7608

Browse files
committed
Fix indentation in readme example
1 parent ac20128 commit 42c7608

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ $this->Invoices->duplicate(4);
9191
Sometimes you need to access the original entity, e.g. for setting an ancestor/parent id reference.
9292
In this case you can leverage the `$original` entity being passed in as 2nd argument:
9393
```php
94-
'set' => [
95-
'ancestor_id' => function ($entity, $original) {
96-
return $original->id;
97-
},
98-
],
94+
'set' => [
95+
'ancestor_id' => function ($entity, $original) {
96+
return $original->id;
97+
},
98+
],
9999
```

0 commit comments

Comments
 (0)