From b2194280bb8ea3c65118a8945748e16419435070 Mon Sep 17 00:00:00 2001 From: Jonathan Vollebregt Date: Thu, 16 Nov 2023 06:44:36 +0100 Subject: [PATCH] More precise return type for CallFinder::getFunctionCalls static analysis --- build/kint.phar | Bin 444670 -> 444755 bytes src/CallFinder.php | 2 ++ 2 files changed, 2 insertions(+) diff --git a/build/kint.phar b/build/kint.phar index a742b30ae2c050a33b7ee3c84362601395c2e175..073a3e18c911d668f9825b5553f2e8e8a0155160 100644 GIT binary patch delta 212 zcmex2QTp;E=?!1l1-#rD7#jBJ$bjg8!Z+WWSva<{a4=TNOk2RrW?z(AQd*R!kds+l zVv|@@lvr6^kXV$Mn_7}uRBQzn)=|jKPsvQngbUaNWE6ztXQ$@b)!I$pXwD`+eSHff zTYHxZBM>tIF*6Xe05R+KE)_PNB_1a>-~H2QHhbwZPYK_NDuQ!Nj@9?|sAe8~W+(A% yLzl?JtfiJSAM!L5xT!I`id?WU#nSmft-?bV(L?7_|0Zc$b+a%qFt|JUIspLoAyF3q delta 139 zcmcaSN&4SJ=?!1l1-`m5Ff{Dbkpa=y9CWLjSva<{a4=TNOgC7_$liWag%OCEfS4JG zS%8>z`%M)#qa_|My)q;k=O%ti*!AhtY!hygJedtDj$V@zj&<2eUFx~JXioc`b@r-H nCL~Onx$;Po(bl7~HQVY`vt|V<@+P$z>g2F6Ffh0~`8ojrGk-U) diff --git a/src/CallFinder.php b/src/CallFinder.php index 8e1cbfcf9..f85b1ae01 100644 --- a/src/CallFinder.php +++ b/src/CallFinder.php @@ -138,6 +138,8 @@ class CallFinder /** * @psalm-param callable-array|callable-string $function * + * @psalm-return list}> + * * @return array List of matching calls on the relevant line */ public static function getFunctionCalls(string $source, int $line, $function): array