这让我很困扰,因为随着我今天收到的 PHP Intelephense 的最新更新,intelephense 不断显示未知属性、函数的错误。
这是我的代码:
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Firm extends CI_Controller
{
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to …Run Code Online (Sandbox Code Playgroud)