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

8.0.x
Alex Pott 2015-10-29 14:14:02 +00:00
parent bfef184e8e
commit 6513bac659
3 changed files with 11 additions and 4 deletions

View File

@ -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.

View File

@ -138,7 +138,11 @@ class ProcessedText extends RenderElement {
/**
* 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);

View File

@ -1135,7 +1135,8 @@ body {color:red}
* (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 @@ body {color:red}
* (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') {