Skip to content

Commit

Permalink
Revert change made from phpStan and change to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
tbsiqueira committed Jun 3, 2022
1 parent 488de37 commit 3d72470
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codingStandards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: sudo update-alternatives --set php /usr/bin/php8.0

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
run: composer install --prefer-dist --no-progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ protected function valueForm(&$form, FormStateInterface $form_state): void {
continue;
}
$choice = new \stdClass();
$choice->option = [$term->id() => str_repeat('-', (int) $term->depth) . $this->entityRepository->getTranslationFromContext($term)->label()];

// @phpstan-ignore-next-line
$choice->option = [$term->id() => str_repeat('-', $term->depth) . $this->entityRepository->getTranslationFromContext($term)->label()];
$options[] = $choice;
}
}
Expand Down

0 comments on commit 3d72470

Please sign in to comment.