Skip to content

Commit 05067a8

Browse files
authored
Merge pull request #104 from itk-dev/feature/add-missing-return-type
Added missing return type
2 parents 72d41f0 + d6bb57c commit 05067a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ before starting to add changes. Use example [placed in the end of the page](#exa
1111

1212
## [Unreleased]
1313

14+
- Added missing return type.
1415
- Added new webform submission storage class to handle enable both encryption
1516
and revision at the same time.
1617

modules/os2forms_webform_list/src/CustomWebformEntityListBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Drupal\os2forms_webform_list;
44

5+
use Drupal\Core\Entity\Query\QueryInterface;
56
use Drupal\webform\WebformEntityListBuilder;
67

78
/**
@@ -27,7 +28,7 @@ class CustomWebformEntityListBuilder extends WebformEntityListBuilder {
2728
* @return \Drupal\Core\Entity\Query\QueryInterface
2829
* An entity query.
2930
*/
30-
protected function getQuery($keys = '', $category = '', $state = '') {
31+
protected function getQuery($keys = '', $category = '', $state = ''): QueryInterface {
3132
$query = parent::getQuery($keys, $category, $state);
3233

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

0 commit comments

Comments
 (0)