Skip to content
Snippets Groups Projects
Commit 0f993cc8 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #2822761 by Gábor Hojtsy: minor PHP syntax followup fix

parent bb7d5c0a
Branches
Tags
2 merge requests!23Issue #2611298 by herom, sanduhrs, idebr, Kgaut, DuneBL, Gábor Hojtsy,...,!19Allow to hook into translatebles discovery
......@@ -32,7 +32,7 @@ function potx_test_8_example() {
$g = new TranslatableMarkup('TranslatableMarkup string with complicated option tokens', [], ['foo' => potx_test_8_sample([4]), 'bar' => [12, 14, []], 'context' => 'With context', 'eek' => 'ook']);
// Test with @placeholders and short array context
$z = new TranslatableMarkup('TranslatableMarkup string with a @placeholder', array(@placeholder => 'foo'));
$z = new TranslatableMarkup('TranslatableMarkup string with a @placeholder', array('@placeholder' => 'foo'));
$h = new TranslatableMarkup('TranslatableMarkup string with a @placeholder and context',
array('@placeholder' => $foo),
array('context' => 'Test context')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment