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

Intelephense 一直报这个错误,

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

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

 

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

 

 

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

 

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2021-12-29
  • 2021-04-17
  • 2021-06-13
  • 2022-01-19
  • 2021-09-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案