File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -350,10 +350,8 @@ public function renderXml(
350350 /**
351351 * Build files for a distribution object.
352352 *
353- * @return \Drupal\file\Entity\FileGroups
354- * The file groups.
355- *
356353 * @phpstan-import-type FileGroups from DistributionFormular
354+ * @phpstan-return FileGroups
357355 */
358356 public function buildFileGroups (HandlerSettings $ handlerSettings , WebformSubmissionInterface $ submission ): array {
359357 $ groups = [];
Original file line number Diff line number Diff 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 ' , [
You can’t perform that action at this time.
0 commit comments