Skip to content

Commit

Permalink
Remove dead code from test
Browse files Browse the repository at this point in the history
  • Loading branch information
klimick committed Dec 27, 2021
1 parent c0ca383 commit 87deb19
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/CallableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,7 @@ public function toInt() { throw new RuntimeException("???"); }
function map(iterable $_collection, callable $_ab) { return []; }
/** @template T */
final class Foo
{
/** @return Foo<int> */
public function toInt() { throw new RuntimeException("???"); }
}
final class Foo { }
/** @var list<Foo<string>> */
$items = [];
Expand Down

0 comments on commit 87deb19

Please sign in to comment.