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]
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}
"}