Open ahmaruff opened 1 year ago
Hello @ahmaruff, actually this is not an error in PHP, just ignore it or try to use \
and see if the error disappears:
\toastr()->success('Your form has been submitted.');
thanks for your suggestion @yoeunes, but it still display error Undefined function 'toastr'
.
Describe the bug vscode display error
Undefined Function 'App\Http\Controllers\toastr'
but it works in browser. (just showing unnecessary error in vscode)
i don't know if this is bug or not. but maybe any suggestion to get rid off this error?
To Reproduce Steps to reproduce the behavior:
toastr()
function in any controllersExpected behavior there is no error in vscode terminal
Desktop (please complete the following information):
Additional context