Access modifiers should not be private for attributes and method

Created on 23 October 2024, 29 days ago

Problem/Motivation

I am attempting to create a derived class from the VertexAISearch plugin class.
Currently, I am unable to do this because some of the attributes are 'private' rather than 'protected'.

Steps to reproduce

Look at the code.

  • private $searchPageRepository;
  • private $tokenManager;
  • private $moduleExtensionList;
  • private function performSearch(SearchServiceClient $searchServiceClient, SearchRequest $request) {

Proposed resolution

Change the access modifiers for the above properties and methods to 'protected'.

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tzura

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

Comments & Activities

Production build 0.71.5 2024