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
On PHP >= 8.1 this throws a TypeError
```
Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in .\vendor\xpaw\php-source-query-class\SourceQuery\Socket.php:32
```
Because a failed connection server sets this to boolean false. Better to check if the parameter passed to `fclose()` is an actual resource/stream.
0 commit comments