Skip to content

Commit e661c15

Browse files
authored
Fix param order for option methods on model provided as string name to options key
Incorrectly documented since 5c830dc
1 parent db4095c commit e661c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/forms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ status:
13761376
Supplying the dropdown options to the model class:
13771377

13781378
```php
1379-
public function listStatuses($fieldName, $value, $formData)
1379+
public function listStatuses(string $value, string $fieldName, array|Model $formData)
13801380
{
13811381
return ['published' => 'Published', ...];
13821382
}

0 commit comments

Comments
 (0)