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 { ...@@ -17,8 +17,9 @@ class FilterController {
/** /**
* Displays a page with long filter tips. * Displays a page with long filter tips.
* *
* @param \Drupal\filter\FilterFormatInterface|null $format * @param \Drupal\filter\FilterFormatInterface|null $filter_format
* A filter format, or NULL to show tips for all formats. Defaults to NULL. * (optional) A filter format, or NULL to show tips for all formats.
* Defaults to NULL.
* *
* @return array * @return array
* A renderable array. * A renderable array.
......
...@@ -138,7 +138,11 @@ public static function preRenderText($element) { ...@@ -138,7 +138,11 @@ public static function preRenderText($element) {
/** /**
* Wraps a logger channel. * Wraps a logger channel.
* *
* @param string $channel
* The name of the channel.
*
* @return \Psr\Log\LoggerInterface * @return \Psr\Log\LoggerInterface
* The logger for this channel.
*/ */
protected static function logger($channel) { protected static function logger($channel) {
return \Drupal::logger($channel); return \Drupal::logger($channel);
......
...@@ -1135,7 +1135,8 @@ function testHtmlCorrectorFilter() { ...@@ -1135,7 +1135,8 @@ function testHtmlCorrectorFilter() {
* (optional) Message to display if failed. Defaults to an empty string. * (optional) Message to display if failed. Defaults to an empty string.
* @param $group * @param $group
* (optional) The group this message belongs to. Defaults to 'Other'. * (optional) The group this message belongs to. Defaults to 'Other'.
* @return *
* @return bool
* TRUE on pass, FALSE on fail. * TRUE on pass, FALSE on fail.
*/ */
function assertNormalized($haystack, $needle, $message = '', $group = 'Other') { function assertNormalized($haystack, $needle, $message = '', $group = 'Other') {
...@@ -1159,7 +1160,8 @@ 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. * (optional) Message to display if failed. Defaults to an empty string.
* @param $group * @param $group
* (optional) The group this message belongs to. Defaults to 'Other'. * (optional) The group this message belongs to. Defaults to 'Other'.
* @return *
* @return bool
* TRUE on pass, FALSE on fail. * TRUE on pass, FALSE on fail.
*/ */
function assertNoNormalized($haystack, $needle, $message = '', $group = 'Other') { 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