From 90e5f1399b97f02e56c8c51362b1a93243f3d8ae Mon Sep 17 00:00:00 2001 From: Michael J Love Date: Fri, 29 Apr 2022 16:11:03 -0400 Subject: [PATCH] Make method signature compatible with Laravel Nova v4. --- src/Qrcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qrcode.php b/src/Qrcode.php index 0ddeca8..cd6d47b 100644 --- a/src/Qrcode.php +++ b/src/Qrcode.php @@ -69,7 +69,7 @@ protected function _renderImage($url = null) * * @return array */ - public function jsonSerialize() + public function jsonSerialize(): array { return array_merge(parent::jsonSerialize(), [ 'value' => (string) $this->value,