Skip to content

Conversation

@homer8173
Copy link

Fix problem with bootstrap mode

Fix problem with bootstrap mode
public static function isRetrofitResource($imap)
{
return is_resource($imap) && get_resource_type($imap) == 'imap';
return get_class($imap) == 'IMAP\Connection';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would not work for php 7

@homer8173
Copy link
Author

I was under php 8 and everything was fine except this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants