Skip to content

Commit

Permalink
Update TemplateShareButtonsUrlPresenter add a return type to the func…
Browse files Browse the repository at this point in the history
…tion in the encodeReplacements method
  • Loading branch information
kudashevs committed Apr 2, 2024
1 parent cf0d31a commit c04eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Presenters/TemplateShareButtonsUrlPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function retrieveExtras(): array
*/
protected function encodeReplacements(array $replacements): array
{
return array_map(function (string $value) {
return array_map(function (string $value): string {
return $this->isRaw()
? (string)$value
: urlencode($value);
Expand Down

0 comments on commit c04eebf

Please sign in to comment.