Skip to content
Snippets Groups Projects
Verified Commit 2d27a177 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3445788 by andypost: [PHP 8.4] Fix phpstan job for ContentModerationConfigureEntityTypesForm

(cherry picked from commit 7deaa481)
parent 517e7528
No related branches found
No related tags found
5 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...,!8325Update file Sort.php,!8095Expose document root on install
Pipeline #167855 canceled
Pipeline: drupal

#167858

    ......@@ -98,7 +98,7 @@ public function getFormId() {
    /**
    * {@inheritdoc}
    */
    public function buildForm(array $form, FormStateInterface $form_state, WorkflowInterface $workflow = NULL, $entity_type_id = NULL) {
    public function buildForm(array $form, FormStateInterface $form_state, ?WorkflowInterface $workflow = NULL, $entity_type_id = NULL) {
    $this->workflow = $workflow;
    try {
    $this->entityType = $this->entityTypeManager->getDefinition($entity_type_id);
    ......@@ -218,7 +218,7 @@ public function ajaxCallback() {
    /**
    * Route title callback.
    */
    public function getTitle(WorkflowInterface $workflow = NULL, $entity_type_id) {
    public function getTitle(WorkflowInterface $workflow, $entity_type_id) {
    $this->entityType = $this->entityTypeManager->getDefinition($entity_type_id);
    $title = $this->t('Select the @entity_type types for the @workflow workflow', ['@entity_type' => $this->entityType->getLabel(), '@workflow' => $workflow->label()]);
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment