Skip to content

Commit

Permalink
Fix phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoporec authored and truls1502 committed Aug 30, 2023
1 parent 274b081 commit 10f7705
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ public function viewsForm(array &$form, FormStateInterface $form_state): void {

// Render select all results checkbox.
if (!empty($wrapper['select_all'])) {
$total_results = is_array($this->tempStoreData) ? $this->tempStoreData['total_results'] : 0;
$wrapper['select_all']['#title'] = $this->t('Select / unselect all @count members across all the pages', [
'@count' => $this->tempStoreData['total_results'] ? ' ' . $this->tempStoreData['total_results'] : '',
'@count' => ' ' . $total_results,
]);
// Styling attributes for the select box.
$form['header'][$this->options['id']]['select_all']['#attributes']['class'][] = 'form-no-label';
Expand Down

0 comments on commit 10f7705

Please sign in to comment.