Skip to content

Commit

Permalink
Merge pull request #10 from metrixinfo/nova-v4-compatible
Browse files Browse the repository at this point in the history
Make method signature compatible with Laravel Nova v4.
  • Loading branch information
Kristories committed Apr 30, 2022
2 parents cbc8d4b + 90e5f13 commit fe41228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Qrcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fe41228

Please sign in to comment.