Skip to content

Commit 6194b51

Browse files
authored
Merge pull request #11 from stanbellcom/f/d10-readiness
F/d10 readiness
2 parents 641a043 + 9d3e277 commit 6194b51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

os2forms_sync.info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: OS2Forms sync
33
package: OS2Forms
44

55
type: module
6-
core_version_requirement: ^9
6+
core_version_requirement: ^9 || ^10
77

88
dependencies:
99
- drupal:os2forms

src/Helper/WebformHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
use Drupal\Core\Datetime\DrupalDateTime;
77
use Drupal\Core\Entity\EntityTypeManagerInterface;
88
use Drupal\Core\Form\FormStateInterface;
9-
use Drupal\Core\Http\RequestStack;
109
use Drupal\Core\Serialization\Yaml;
1110
use Drupal\Core\StringTranslation\StringTranslationTrait;
1211
use Drupal\Core\Url;
1312
use Drupal\webform\Entity\Webform;
1413
use Drupal\webform\WebformEntityStorageInterface;
1514
use Drupal\webform\WebformInterface;
15+
use Symfony\Component\HttpFoundation\RequestStack;
1616

1717
/**
1818
* The webform helper.
@@ -37,7 +37,7 @@ final class WebformHelper {
3737
/**
3838
* The request stack.
3939
*
40-
* @var \Drupal\Core\Http\RequestStack
40+
* @var Symfony\Component\HttpFoundation\RequestStack
4141
*/
4242
private RequestStack $requestStack;
4343

0 commit comments

Comments
 (0)