You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VsCode with intelephense not detect definition for a function class
Steps To Reproduce:
I have this code:
//app/http/controllers/Api/ProcessController.php
namespace App\Http\Controllers\Api;
use App\Models\Center\Center;
$center = Center::where("uid", 1)->first();
$mySome = $center->getSome(); //No definition found for 'getSome()'
//app/models/Center/Center.php
namespace App\Models\Center;
class Center extends Model {
public function getSome()
{
return "some";
}
}
Then cmd+click or Go to definition "getSome()" on Center class throw: "Not definition found for ...."
The text was updated successfully, but these errors were encountered:
Versions:
Description:
VsCode with intelephense not detect definition for a function class
Steps To Reproduce:
I have this code:
Then cmd+click or Go to definition "getSome()" on Center class throw: "Not definition found for ...."
The text was updated successfully, but these errors were encountered: