From d1b0cdecd7badee891f0298be40901ee7edf1aef Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 1 Mar 2017 19:39:19 -0500 Subject: [PATCH] Add argument to apcu_add() definition --- src/Psalm/CallMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index 1f3a2b3fd..d3dfc2bb7 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -108,7 +108,7 @@ return [ 'apc_sma_info' => ['array', 'limited='=>'bool'], 'apc_store' => ['bool', 'key'=>'string', 'var'=>'', 'ttl='=>'int'], 'apc_store\'1' => ['array', 'values'=>'array', 'unused='=>'', 'ttl='=>'int'], -'apcu_add' => ['bool', 'key'=>'string', 'ttl='=>'int'], +'apcu_add' => ['bool', 'key'=>'string', 'var'=>'', 'ttl='=>'int'], 'apcu_add\'1' => ['array', 'values'=>'array', 'unused='=>'', 'ttl='=>'int'], 'apcu_cache_info' => ['array', 'limited='=>'bool'], 'apcu_cas' => ['bool', 'key'=>'string', 'old'=>'int', 'new'=>'int'],