Skip to content
Snippets Groups Projects

Issue #3230070: Deprecated warning for rrssb_tokens on PHP 8.0

Merged Karl Shea requested to merge issue/rrssb-3230070:3230070-deprecated-warning-for into 8.x-2.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -25,7 +25,7 @@ const RRSSB_DEFAULT_IMAGE_TOKEN = '[node:field_image:url]|[rrssbsite:logo-url]';
@@ -25,7 +25,7 @@ const RRSSB_DEFAULT_IMAGE_TOKEN = '[node:field_image:url]|[rrssbsite:logo-url]';
* These tokens are not advertised in hook_token_info because they are of no
* These tokens are not advertised in hook_token_info because they are of no
* use outside this module.
* use outside this module.
*/
*/
function rrssb_tokens($type, $tokens, array $data = [], array $options = [], BubbleableMetadata $bubbleable_metadata) {
function rrssb_tokens($type, $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) {
$replacements = [];
$replacements = [];
$urlencode = isset($options['urlencode']);
$urlencode = isset($options['urlencode']);
Loading