Problem/Motivation

Visibility must be declared on method "__construct"

Proposed resolution

Add visibility public to __construct method

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thalles created an issue. See original summary.

thalles’s picture

Follow a patch

swatichouhan012’s picture

Assigned: Unassigned » swatichouhan012
Status: Needs review » Needs work
Issue tags: +VbContribution2020

There is more same type issue other files, lets increase the scope of this issue and fix in complete module.

swatichouhan012’s picture

Title: Visibility must be declared on method "__construct" » Visibility must be declared on method fixes.
swatichouhan012’s picture

Assigned: swatichouhan012 » Unassigned
Status: Needs work » Needs review
FileSize
13.49 KB
11.46 KB

I have updated patch to mix visibility method error, kindly review.

thalles’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @swatichouhan012!
Looks good to me!

Berdir’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

  • Berdir committed 2940dae on 8.x-1.x authored by swatichouhan012
    Issue #3119728 by swatichouhan012, thalles: Visibility must be declared...

Status: Fixed » Closed (fixed)

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