Skip to content

Commit abfeea8

Browse files
authored
Update functionMap.php
Fix the signatures for the following functions : apcu_cache_info apcu_sma_info strval
1 parent ad4f0c0 commit abfeea8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/functionMap.php

Lines changed: 3 additions & 3 deletions
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'],
@@ -12088,7 +12088,7 @@
1208812088
'strtoupper' => ['uppercase-string', 'str'=>'string'],
1208912089
'strtr' => ['string', 'str'=>'string', 'from'=>'string', 'to'=>'string'],
1209012090
'strtr\'1' => ['string', 'str'=>'string', 'replace_pairs'=>'array'],
12091-
'strval' => ['string', 'var'=>'__stringAndStringable|int|float|bool|resource|null'],
12091+
'strval' => ['string', 'var'=>'mixed'],
1209212092
'substr' => ['__benevolent<string|false>', 'string'=>'string', 'start'=>'int', 'length='=>'int'],
1209312093
'substr_compare' => ['int<-1, 1>|false', 'main_str'=>'string', 'str'=>'string', 'offset'=>'int', 'length='=>'int', 'case_sensitivity='=>'bool'],
1209412094
'substr_count' => ['0|positive-int', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int', 'length='=>'int'],

0 commit comments

Comments
 (0)