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.

Issue fork salesforce-3417891

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tunic created an issue. See original summary.

tunic changed the visibility of the branch 5.0.x to hidden.

tunic’s picture

Status: Active » Needs review

It was much simpler, just rename $configFactory to just $config.

  • AaronBauman committed 8979e2b6 on 5.0.x authored by tunic
    Issue #3417891 by tunic: Property mismatch name error that triggers a...
aaronbauman’s picture

Status: Needs review » Fixed

fixed, thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.