Skip to content

Commit 7e158af

Browse files
committed
Merge branch 'hotfix/gactions2' into 'feature/2.2.0'
Fix gactions See merge request metamodels/filter_checkbox!16
2 parents de2a23e + a906801 commit 7e158af

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.check-author.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ exclude:
66

77
mapping:
88
'Andreas Isaak <info@andreas-isaak.de>': 'Andreas Isaak <andy.jared@googlemail.com>'
9+
'Ingolf Steinhardt <info@e-spin.de>':
10+
- 'zonky2 <info@e-spin.de>'
11+
- 'info@e-spin.de <info@e-spin.de>'

src/FilterSetting/Checkbox.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,13 @@ private function prepareLabel(IAttribute $objAttribute)
266266
/**
267267
* Prepare the parameter value.
268268
*
269-
* @param $value
269+
* @param string $value The value.
270270
*
271271
* @return mixed|string
272+
*
273+
* @SuppressWarnings(PHPMD.Superglobals)
272274
*/
273-
private function getParamValue($value): string
275+
private function getParamValue(string $value): string
274276
{
275277
if ($this->get('option_label_param')) {
276278
return 'yes' === $value ? $GLOBALS['TL_LANG']['MSC']['yes'] : $GLOBALS['TL_LANG']['MSC']['no'];

0 commit comments

Comments
 (0)