Commit 6513bac6 authored by alexpott's avatar alexpott

Issue #2601610 by krknth: Fix comment standards for filter module

parent bfef184e
......@@ -17,8 +17,9 @@ class FilterController {
/**
* Displays a page with long filter tips.
*
* @param \Drupal\filter\FilterFormatInterface|null $format
* A filter format, or NULL to show tips for all formats. Defaults to NULL.
* @param \Drupal\filter\FilterFormatInterface|null $filter_format
* (optional) A filter format, or NULL to show tips for all formats.
* Defaults to NULL.
*
* @return array
* A renderable array.
......
......@@ -138,7 +138,11 @@ public static function preRenderText($element) {
/**
* Wraps a logger channel.
*
* @param string $channel
* The name of the channel.
*
* @return \Psr\Log\LoggerInterface
* The logger for this channel.
*/
protected static function logger($channel) {
return \Drupal::logger($channel);
......
......@@ -1135,7 +1135,8 @@ function testHtmlCorrectorFilter() {
* (optional) Message to display if failed. Defaults to an empty string.
* @param $group
* (optional) The group this message belongs to. Defaults to 'Other'.
* @return
*
* @return bool
* TRUE on pass, FALSE on fail.
*/
function assertNormalized($haystack, $needle, $message = '', $group = 'Other') {
......@@ -1159,7 +1160,8 @@ function assertNormalized($haystack, $needle, $message = '', $group = 'Other') {
* (optional) Message to display if failed. Defaults to an empty string.
* @param $group
* (optional) The group this message belongs to. Defaults to 'Other'.
* @return
*
* @return bool
* TRUE on pass, FALSE on fail.
*/
function assertNoNormalized($haystack, $needle, $message = '', $group = 'Other') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment