Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Oct 17, 2024
1 parent 42b8a14 commit f89f30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/static-analysis/resource-state.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
use Phpro\ResourceStream\ResourceStream;

/**
* @param ResourceStream<resource> $stream
* @param ResourceStream<closed-resource> $stream
*/
function assertClosed(ResourceStream $stream): void
{
}

/**
* @param ResourceStream<closed-resource> $stream
* @param ResourceStream<resource> $stream
*/
function assertOpened(ResourceStream $stream): void
{
Expand Down

0 comments on commit f89f30b

Please sign in to comment.