Property mismatch name error that triggers a warning in PHP 8.2

Created on 29 January 2024, 11 months ago
Updated 14 February 2024, 11 months ago

Problem/Motivation

The class SalesforceLoggerSubscriber declares the property:

protected $configFactory;

However, in the constructor, it tries to assign the configuration factory to $config:

public function __construct(LoggerInterface $logger, ConfigFactoryInterface $config) {
    $this->logger = $logger;
    $this->config = $config;
  }

Steps to reproduce

Check the code.

Proposed resolution

Fix names.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

salesforce_logger.module

Created by

πŸ‡ͺπŸ‡ΈSpain tunic Madrid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024