I use phpstormas an IDE. And in mine class.phpI started class as
class MyClass extends Database{
function sample(){
$this->query();
}
}
query()is in the classroom Database. But phpstorm shows a warning that
Method 'query' not found in class MyClass. Referenced method is not found in subject class.
But the function works without problems.
Are there any issues with this code style? Or do I need to try a different approach? I have searched many websites. But did not receive the correct answer. Please help. Thank.
source
share