Naysoewin's avatar

Undefined method 'documentations'.intelephense(1013)

Hello,

I am using VS code and Installed intelephense Extension,

When i create documentations using user hasMany relationship like below


	$documentation = auth()->user()->documentations()->create(request()->validate([
            'title' => 'required|string|min:2|max:60',
            'documentation_group_id' => 'required|integer',
        ]));

The process is working well correctly but i am seeing the error message like this

Undefined method 'documentations'.intelephense(1013)

Am i making wrong something or any issue with Intelephenese Extension? Thanks all

0 likes
8 replies

Please or to participate in this conversation.