Skip to content

Commit

Permalink
Attempt #3 - Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchaboryk committed Feb 9, 2024
1 parent b044f96 commit ed9a310
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions plugins/system/jooa11y/src/Extension/Jooa11y.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function initJooa11y()
];

// Check if Sa11y supports language
if (!in_array($lang, $supportedLang)) {
if (!\in_array($lang, $supportedLang)) {
$lang = 'en';
} elseif ($lang === 'pt') {
$lang = $country === 'br' ? 'ptBR' : 'ptPT';
Expand All @@ -155,15 +155,15 @@ public function initJooa11y()

// Get plugin options from xml
$getOptions = [
'checkRoot' => $this->params->get('checkRoot', 'main'),
'readabilityRoot' => $this->params->get('readabilityRoot', 'main'),
'containerIgnore' => $this->params->get('containerIgnore'),
'contrastPlugin' => $this->params->get('contrastPlugin'),
'formLabelsPlugin' => $this->params->get('formLabelsPlugin'),
'linksAdvancedPlugin' => $this->params->get('linksAdvancedPlugin'),
'colourFilterPlugin' => $this->params->get('colourFilterPlugin'),
'checkAllHideToggles' => $this->params->get('additionalChecks'),
'shadowComponents' => $this->params->get('shadowComponents'),
'checkRoot' => $this->params->get('checkRoot', 'main'),
'readabilityRoot' => $this->params->get('readabilityRoot', 'main'),
'containerIgnore' => $this->params->get('containerIgnore'),
'contrastPlugin' => $this->params->get('contrastPlugin'),
'formLabelsPlugin' => $this->params->get('formLabelsPlugin'),
'linksAdvancedPlugin' => $this->params->get('linksAdvancedPlugin'),
'colourFilterPlugin' => $this->params->get('colourFilterPlugin'),
'checkAllHideToggles' => $this->params->get('additionalChecks'),
'shadowComponents' => $this->params->get('shadowComponents'),
];
$getExtraProps = $this->params->get('extraProps');

Expand Down

0 comments on commit ed9a310

Please sign in to comment.