Skip to content

Commit 64eaa45

Browse files
authored
Merge pull request spatie#11 from MaxGiting/patch-1
Property name correction in documentation
2 parents 3dffe14 + 0e18372 commit 64eaa45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ All public methods and properties in a view model are automatically exposed to t
9595
```php
9696
class PostViewModel extends ViewModel
9797
{
98-
protected $ignored = ['ignoredMethod'];
98+
protected $ignore = ['ignoredMethod'];
9999

100100
// …
101101

0 commit comments

Comments
 (0)