Commit 92cbc4cf authored by catch's avatar catch

Issue #2803893 by mfernea: Fix 'Drupal.Commenting.FunctionComment.ParamTypeSpaces' coding standard

parent c7c9a329
......@@ -104,7 +104,7 @@ public function getSource() {
* Set the source string or the array of strings if the translation has
* plurals.
*
* @param string or array $source
* @param string|array $source
*/
public function setSource($source) {
$this->_source = $source;
......@@ -124,7 +124,7 @@ public function getTranslation() {
* Set the translation string or the array of strings if the translation has
* plurals.
*
* @param string or array $translation
* @param string|array $translation
*/
public function setTranslation($translation) {
$this->_translation = $translation;
......
......@@ -127,7 +127,7 @@ public function __construct() {
*
* @param string $data_type
* The required data type.
* @param mixed string|null $label
* @param mixed|string|null $label
* The label of this context definition for the UI.
* @param bool $required
* Whether the context definition is required.
......
......@@ -59,7 +59,6 @@
<exclude name="Drupal.Commenting.FunctionComment.ParamCommentIndentation"/>
<exclude name="Drupal.Commenting.FunctionComment.ParamMissingDefinition"/>
<exclude name="Drupal.Commenting.FunctionComment.ParamNameNoMatch"/>
<exclude name="Drupal.Commenting.FunctionComment.ParamTypeSpaces"/>
<exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/>
</rule>
<rule ref="../vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/ControlStructures/ElseIfSniff.php"/>
......
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