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.

Comments

taraskorpach created an issue. See original summary.

taraskorpach’s picture

Version: 8.x-1.x-dev » 8.x-1.0-rc14
chi’s picture

Version: 8.x-1.0-rc14 » 2.0.x-dev
Status: Active » Needs review
StatusFileSize
new1002 bytes

Hopefully Drupal core will document this magic some day.

taraskorpach’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new132.83 KB

Thanks, I had almost forgotten about this issue. The patch is successfully installed and the IDE error is gone. Setting RTBC here.

inline-form-fixed