Skip to content

Commit 9871c2b

Browse files
committed
Merged in feature/BKL-84-FixPreCommitErrorDrupalCheck (pull request #57)
Feature/BKL-84 FixPreCommitErrorDrupalCheck Approved-by: Andreas Engelmark
2 parents 59b8955 + d14bb15 commit 9871c2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/profiles/custom/os2loop/modules/os2loop_user/src/Helper/Helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Drupal\Core\Form\FormStateInterface;
66
use Drupal\Core\Session\AccountInterface;
77
use Drupal\views\ViewExecutable;
8-
use Drupal\views\Plugin\views\query\QueryPluginBase;
8+
use Drupal\views\Plugin\views\query\Sql;
99

1010
/**
1111
* The Helper class.
@@ -31,7 +31,7 @@ public function __construct(AccountInterface $currentUser) {
3131
* Change the order of the tables in a LEFT JOIN to preserve NULLs from
3232
* content type.
3333
*/
34-
public function queryAlter(ViewExecutable $view, QueryPluginBase $query) {
34+
public function queryAlter(ViewExecutable $view, Sql $query) {
3535
if ($view->id() === 'os2loop_user_answers') {
3636
$node_table = $query->getTableInfo('node_field_data_comment_field_data');
3737

web/profiles/custom/os2loop/themes/os2loop_theme/templates/views/views-view--os2loop-messages.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
{{ exposed }}
5151
{{ attachment_before }}
52-
52+
5353
{% if rows -%}
5454
{{ rows }}
5555
{% elseif empty -%}

0 commit comments

Comments
 (0)