8000 [Docs] Add minore docs change · tekord/laravel-json-api@0624e63 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Commit 0624e63

Browse files
committed
[Docs] Add minore docs change
1 parent ab51bfa commit 0624e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basics/adapters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ The method can be overloaded as follows:
407407
```php
408408
protected function methodForRelation($field)
409409
{
410-
if ('myField' === $field) {
410+
if ('my-field' === $field) {
411411
return 'myOtherMethodName';
412412
}
413413

0 commit comments

Comments
 (0)
0