We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568ee2d commit 7a633e4Copy full SHA for 7a633e4
source/TypeFunctions.php
@@ -82,7 +82,7 @@ function isString($variable)
82
*/
83
function isResource($variable)
84
{
85
- return \getType($variable) === "resource";
+ return is_resource($variable);
86
}
87
88
/**
0 commit comments