Hi,

 

today I encountered some errors regarding error highlighting in PHP classes.

 



 

The curly underlining (esp. lines 41 / 41, 51) is at the wrong position.

NetBeans tells me, that $actions, $messages, $gridActions and $crudActions 
variables have already been declared, and they show up multiple times in the 
navigator. 

 



But they are only declared once in LoadCarrierLocationController and once in 
its parent class AbstractCrudController. So NetBeans marks it as an error, 
while it’s completely legal (see 
https://www.php.net/manual/en/language.oop5.visibility.php, Example #1, 
redeclaring of protected properties).

 

If you can give me hint, how I can fix the problem, I would be very happy 😊

 

Best regards,

 

René 

Reply via email to