Skip to content

Commit

Permalink
More precise return type for CallFinder::getFunctionCalls static anal…
Browse files Browse the repository at this point in the history
…ysis
  • Loading branch information
jnvsor committed Nov 16, 2023
1 parent 6c2ea44 commit b219428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified build/kint.phar
Binary file not shown.
2 changes: 2 additions & 0 deletions src/CallFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ class CallFinder
/**
* @psalm-param callable-array|callable-string $function
*
* @psalm-return list<array{parameters: list, modifiers: list<PhpToken>}>
*
* @return array List of matching calls on the relevant line
*/
public static function getFunctionCalls(string $source, int $line, $function): array
Expand Down

0 comments on commit b219428

Please sign in to comment.