Change method visibility in Drupal\restrict_ip\Service\RestrictIpService

Created on 7 August 2019, over 5 years ago
Updated 16 March 2023, almost 2 years ago

Problem/Motivation

The class Drupal\restrict_ip\Service\RestrictIpService has several methods designated as private, which keeps them from being overridden in a subclass when needed.

Proposed resolution

Change the visibility modifier on private methods and members to be protected instead. This will allow subclasses to override as necessary, but will still be hidden from classes that do not extend Drupal\restrict_ip\Service\RestrictIpService

Remaining tasks

Determine if other visibility modifiers on other classes need to be made.

User interface changes

None.

API changes

API changed per proposed resolution.

Data model changes

None.

Release notes snippet

None.

✨ Feature request
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States partyka

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024