Skip to content

Commit

Permalink
Fix bug in implode
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Apr 5, 2024
1 parent 3340516 commit 337fce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Registrar/WebhookRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function getVersion(): string

$webhooks = array_map(static fn (array $webhook) => $webhook['name'] . $webhook['endpoint'] . $webhook['key'] . $webhook['action'] . $webhook['resource'], $webhooks);

return md5(implode($webhooks));
return md5(implode('', $webhooks));
}

/**
Expand Down

0 comments on commit 337fce1

Please sign in to comment.