Skip to content

Commit

Permalink
Add assertNativeType
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek authored and ondrejmirtes committed May 30, 2024
1 parent 85fd9ca commit b5f52b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/PHPStan/Analyser/data/http-response-header.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

use function PHPStan\Testing\assertType;
use function PHPStan\Testing\assertNativeType;

file_get_contents('https://example.org');
assertType('list<string>', $http_response_header);
assertNativeType('array<int, string>', $http_response_header);

0 comments on commit b5f52b8

Please sign in to comment.