syntax error in generated getItem method #488

Closed
opened 2019-10-31 11:49:31 +00:00 by marcodings · 2 comments
marcodings commented 2019-10-31 11:49:31 +00:00 (Migrated from github.com)

Generated getItem in the models flags a syntax error for flags as protected
image

Generated getItem in the models flags a syntax error for flags as protected ![image](https://user-images.githubusercontent.com/3484222/67944388-ab7d4000-fbdc-11e9-825a-a4b6e0a65666.png)

Hmmm I think this is a PHPStorm/Joomla issue, since it wrongly detects the calls inheritances here. This is not a bug, since we are in just the line above setting the object key, as until this point it does not exist, or am I missing something here?

Hmmm I think this is a PHPStorm/Joomla issue, since it wrongly detects the calls inheritances here. This is not a bug, since we are in just the line above setting the object key, as until this point it does not exist, or am I missing something here?

So I have been able to validate that this is indeed a PHPStorm issue, linked to the Update classes used by the Updater::update() to install an update.

So I have been able to validate that this is indeed a PHPStorm issue, linked to the [Update classes](https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Updater/Update.php#L26) used by the Updater::update() to install an update.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#488
No description provided.