Skip to content

Conversation

@andrii-trush
Copy link
Contributor

The method $jsDriver->addToFormData() was being called with two arguments ($form, $data), while the JsDriver interface defines it to accept only one parameter:

public function addToFormData($data)

This commit aligns the method call with the interface contract, preventing signature mismatch and potential runtime errors.

The method $jsDriver->addToFormData() was being called with two arguments ($form, $data), while the JsDriver interface defines it to accept only one parameter:
public function addToFormData($data).
Fix JsDriver::addToFormData call to match interface signature
@andrii-trush andrii-trush changed the title Fix JsDriver::addToFormData call to match interface signature [5.x] Fix JsDriver::addToFormData call to match interface signature Jan 8, 2026
@andrii-trush
Copy link
Contributor Author

@duncanmcclean Is there any way to review and release it?

@jasonvarga jasonvarga merged commit dc55197 into statamic:5.x Jan 8, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants