Non static method 'table' should not be called statically.intelephense(1036)


Non static method 'table' should not be called statically.intelephense(1036)

Intelephense 一直报这个错误,

但是代码:$res = Db::table($tablename)->where($where)->find(); 没有错误

进入 vscode 设置:搜索intelephense languageConstraints 关闭就不会提示了

 

 

 

文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。

 

若有帮助到您,欢迎点击推荐,您的支持是对我坚持最好的肯定(*^_^*)


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM