Open
Description
I'm using Codeception's wrapper of PHPUnit's assertInternalType
, and thought phpstan would understand the type.
Example code:
$feedHandle = fopen('php://temp', 'rw+');
$this->assertInternalType('resource', $feedHandle);
fwrite($feedHandle, $feed);
Actual result:
Parameter #1 $fp of function fwrite expects resource, resource|false given.
Expected result:
-- Nothing --
Metadata
Metadata
Assignees
Labels
No labels