關于PHP多商戶版開發者工具PHPSTORM無法識別方法(跳轉聲明問題)
舉例:
app/common/repositories/system/CountRepository.php
1530行
getMerchantProductSalesPriceTop方法中
當StoreOrderProductRepository中不存在getProductRate方法時(getProductRate方法實際是存在于app/common/dao/store/order/StoreOrderProductDao.php中),由于這種容器的調用方式,我的編輯器無法跳轉聲明,
需要加上聲明,才能正常跳轉聲明
/** @var StoreOrderProductRepository $storeOrderProductRepository */
請問有什么辦法能夠解決這個問題,是需要安裝什么插件還是我的開發者工具的問題?已經更換兩個版本的phpstorm工具,均無法正常使用。