EntityReferenceItem requires an IDE annotation

Created on 2 November 2022, about 2 years ago
Updated 7 August 2023, over 1 year ago

Problem/Motivation

When I explored the InlineEntityFormSimple class in the FieldWidget folder, I found an error where the IDE (in my case PhpStorm) shows a critical warning "Member has protected visibility" on lines 52 and 56. Look at the image in the attachments.

Steps to reproduce

1. Open the InlineEntityFormSimple file, look at line 52 as an example, you will see a warning related to property visibility.

Proposed resolution

1. Just add the PhpStorm annotation.

πŸ› Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine taraskorpach Lutsk πŸ‡ΊπŸ‡¦

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