Skip to content

Commit

Permalink
Update types/AsResourceTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Faissal Wahabali <[email protected]>
  • Loading branch information
nunomaduro and faissaloux authored Mar 30, 2024
1 parent 55cc812 commit 83cafb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/AsResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
$resource = fopen('php://memory', 'r');
$variable = random_int(0, 1) !== 0 ? 'string' : $resource;
assertType('resource', $variable = type($variable)->asResource());
fclose($variable);
fclose($resource);

Check failure on line 10 in types/AsResourceTest.php

View workflow job for this annotation

GitHub Actions / Formats P8.2 - ubuntu-latest - prefer-lowest

Parameter #1 $stream of function fclose expects resource, resource|false given.

Check failure on line 10 in types/AsResourceTest.php

View workflow job for this annotation

GitHub Actions / Formats P8.2 - ubuntu-latest - prefer-lowest

Parameter #1 $stream of function fclose expects resource, resource|false given.

Check failure on line 10 in types/AsResourceTest.php

View workflow job for this annotation

GitHub Actions / Formats P8.2 - ubuntu-latest - prefer-stable

Parameter #1 $stream of function fclose expects resource, resource|false given.

0 comments on commit 83cafb2

Please sign in to comment.