Skip to content

Commit 29e9fd2

Browse files
committed
Cleaned up
1 parent 51332b7 commit 29e9fd2

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

scripts/base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ setup() {
8787

8888
composer --no-plugins config extra.drupal-lenient.allow-all --json true
8989
# composer --no-plugins config extra.drupal-lenient.allowed-list --json '[ "drupal/coc_forms_auto_export", "drupal/webform_node_element" ]'
90-
composer require mglaman/composer-drupal-lenient --with-all-dependencies
90+
composer require mglaman/composer-drupal-lenient:^1.0 --with-all-dependencies
9191

9292
# --------------------------------------------------------------------------------------------------------------------
9393
# We need to install dev requirements from our module, so we use

src/Helper/FordelingskomponentHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,8 @@ public function renderXml(
350350
/**
351351
* Build files for a distribution object.
352352
*
353-
* @return \Drupal\file\Entity\FileGroups
353+
* @return array<string, array<int, array{sftp_filename: string, file: \Drupal\file\FileInterface}>>
354354
* The file groups.
355-
*
356-
* @phpstan-import-type FileGroups from DistributionFormular
357355
*/
358356
public function buildFileGroups(HandlerSettings $handlerSettings, WebformSubmissionInterface $submission): array {
359357
$groups = [];

src/Plugin/WebformHandler/WebformHandlerSF2900.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ public function getSummary() {
441441

442442
$items = [];
443443

444-
if (TRUE || $settings->distributionContext->kleEmne) {
444+
if ($settings->distributionContext->kleEmne) {
445445
$items[] = Link::createFromRoute(
446446
$this->t('Show routing info'),
447447
'os2forms_fordelingskomponent.routing_info', [

0 commit comments

Comments
 (0)