Netbeans - Fix PHP Method Code Completion
By default, Netbeans will show static methods after using $this-> or $someObject->, which is not correct. This can lead to you writing code incorrectly by accident.
To fix this, follow the steps below:
Steps
Go to Tools -> Options .
In the dialogue box that appears:
- Go to the Editor tab.
- Click on the Code Completion sub-tab.
- Select **PHP*** for the Language dropdown.
- Make sure the two checkboxes are not checked.

Last updated: 3rd July 2021
First published: 3rd July 2021
First published: 3rd July 2021