We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug intelephense thinks ftp_ssl_connect returns a resource, but it returns a ftp\Connection (in php8)
To Reproduce
ftp_login(ftp_ssl_connect('test'), 'abc', 'def');
Expected behavior No error
Screenshots
the tooltip show the correct return type however
Platform and version windows 10 intelephense 1.8.0
The text was updated successfully, but these errors were encountered:
Similar problem with IMAP functions, example imap_reopen the tooltip is mixing the type resource and Connection for the parameter imap
imap_reopen
imap_open return type connection on php8, but the tooltip also mixed resource and connection
imap_open
this causes
Sorry, something went wrong.
No branches or pull requests
Describe the bug
intelephense thinks ftp_ssl_connect returns a resource, but it returns a ftp\Connection (in php8)
To Reproduce
Expected behavior
No error
Screenshots
![image](https://user-images.githubusercontent.com/83005/149792664-a1af97f1-7fa7-431b-8f92-765421828262.png)
the tooltip show the correct return type however
![image](https://user-images.githubusercontent.com/83005/149792810-14923901-60a6-4742-b6a2-3df066869819.png)
Platform and version
windows 10
intelephense 1.8.0
The text was updated successfully, but these errors were encountered: