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