Skip to content

Commit

Permalink
Make method signature compatible with Laravel Nova v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
metrixinfo committed Apr 29, 2022
1 parent cbc8d4b commit 90e5f13
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 90e5f13

Please sign in to comment.