Skip to content

Commit

Permalink
Added missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed May 6, 2024
1 parent 65e1cb2 commit 19c3060
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ before starting to add changes. Use example [placed in the end of the page](#exa

## [Unreleased]

- Added missing return type.

## [3.15.0] 2024-05-03

- Added webform encryption modules
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Drupal\os2forms_webform_list;

use Drupal\Core\Entity\Query\QueryInterface;
use Drupal\webform\WebformEntityListBuilder;

/**
Expand All @@ -27,7 +28,7 @@ class CustomWebformEntityListBuilder extends WebformEntityListBuilder {
* @return \Drupal\Core\Entity\Query\QueryInterface
* An entity query.
*/
protected function getQuery($keys = '', $category = '', $state = '') {
protected function getQuery($keys = '', $category = '', $state = ''): QueryInterface {
$query = parent::getQuery($keys, $category, $state);

// Setup a required condition for the list builder to respect webform update
Expand Down

0 comments on commit 19c3060

Please sign in to comment.