Skip to content

Commit e98335b

Browse files
authored
Fix apcu_cache_info and apcu_sma_info signatures
1 parent ad4f0c0 commit e98335b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: resources/functionMap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
'APCIterator::valid' => ['bool'],
210210
'apcu_add' => ['bool', 'key'=>'string', 'var'=>'', 'ttl='=>'int'],
211211
'apcu_add\'1' => ['array<string,int>', 'values'=>'array<string,mixed>', 'unused='=>'', 'ttl='=>'int'],
212-
'apcu_cache_info' => ['array<string,mixed>', 'limited='=>'bool'],
212+
'apcu_cache_info' => ['array<string,mixed>|false', 'limited='=>'bool'],
213213
'apcu_cas' => ['bool', 'key'=>'string', 'old'=>'int', 'new'=>'int'],
214214
'apcu_clear_cache' => ['bool'],
215215
'apcu_dec' => ['int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
@@ -220,7 +220,7 @@
220220
'apcu_exists\'1' => ['array', 'keys'=>'string[]'],
221221
'apcu_fetch' => ['mixed', 'key'=>'string|string[]', '&w_success='=>'bool'],
222222
'apcu_inc' => ['int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
223-
'apcu_sma_info' => ['array', 'limited='=>'bool'],
223+
'apcu_sma_info' => ['array|false', 'limited='=>'bool'],
224224
'apcu_store' => ['bool', 'key'=>'string', 'var='=>'', 'ttl='=>'int'],
225225
'apcu_store\'1' => ['array', 'values'=>'array', 'unused='=>'', 'ttl='=>'int'],
226226
'APCuIterator::__construct' => ['void', 'search='=>'string|string[]|null', 'format='=>'int', 'chunk_size='=>'int', 'list='=>'int'],

0 commit comments

Comments
 (0)