Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make method signature compatible with Laravel Nova v4. #10

Merged
merged 1 commit into from
Apr 30, 2022
Merged

Make method signature compatible with Laravel Nova v4. #10

merged 1 commit into from
Apr 30, 2022

Conversation

metrixinfo
Copy link
Contributor

In Laravel Nova v4, the filed is failing with the following.

[2022-04-29 19:58:22] local.ERROR: Declaration of Kristories\Qrcode\Qrcode::jsonSerialize() must be compatible with Laravel\Nova\Fields\Field::jsonSerialize(): array {"userId":"961ddb06-670d-4d3f-956b-595144f7e4ab","exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Declaration of Kristories\Qrcode\Qrcode::jsonSerialize() must be compatible with Laravel\Nova\Fields\Field::jsonSerialize(): array at /var/www/html/vendor/kristories/nova-qrcode-field/src/Qrcode.php:72)
[stacktrace]
#0 {main}
"}

@Kristories Kristories merged commit fe41228 into devtical:master Apr 30, 2022
@Kristories
Copy link
Member

Thanks @metrixinfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants