Skip to content

Commit 43c08ed

Browse files
committed
Issue #2998769 by kiamlaluno, quietone, kkalaskar: @see directive used in the wrong place outputs the wrong HTML markup
(cherry picked from commit 6d98f6b)
1 parent 8de6188 commit 43c08ed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/Drupal/Core/Logger/LogMessageParserInterface.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ interface LogMessageParserInterface {
1212
*
1313
* For a value to be considered as a placeholder should be in the following
1414
* formats:
15-
* - PSR3 format:
16-
* @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message
17-
* - Drupal specific string placeholder format:
18-
* @see \Drupal\Component\Render\FormattableMarkup
15+
* - @link https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message The PSR3 format @endlink
16+
* - The Drupal specific string placeholder format, described in
17+
* \Drupal\Component\Render\FormattableMarkup
1918
*
2019
* Values in PSR3 format will be transformed to
2120
* \Drupal\Component\Render\FormattableMarkup format.
@@ -29,6 +28,8 @@ interface LogMessageParserInterface {
2928
*
3029
* @return array
3130
* An array of the extracted message placeholders.
31+
*
32+
* @see \Drupal\Component\Render\FormattableMarkup
3233
*/
3334
public function parseMessagePlaceholders(&$message, array &$context);
3435

0 commit comments

Comments
 (0)