From 76191e25059db9dd78d046da3890cbdacd18a542 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Wed, 26 Oct 2016 11:25:44 -0400 Subject: [PATCH] Add back apc_store proper signature --- 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 dfd9bfcfb..e22198dca 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -85,7 +85,7 @@ return [ 'APCIterator::valid' => ['bool'], 'apc_load_constants' => ['bool', 'key'=>'string', 'case_sensitive='=>'bool'], 'apc_sma_info' => ['array', 'limited='=>'bool'], -'apc_store' => ['bool', 'key'=>'string', 'ttl='=>'int'], +'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\'1' => ['array', 'values'=>'array', 'unused='=>'', 'ttl='=>'int'],