Skip to content

Commit 611e6aa

Browse files
committed
Change return type of apcu_inc and apcu_dec function
1 parent 6bdce5d commit 611e6aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@
138138
'apcu_cache_info' => ['__benevolent<array<string,mixed>|false>', 'limited='=>'bool'],
139139
'apcu_cas' => ['bool', 'key'=>'string', 'old'=>'int', 'new'=>'int'],
140140
'apcu_clear_cache' => ['bool'],
141-
'apcu_dec' => ['int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
141+
'apcu_dec' => ['false|int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
142142
'apcu_delete' => ['bool', 'key'=>'string|APCuIterator'],
143143
'apcu_delete\'1' => ['list<string>', 'key'=>'string[]'],
144144
'apcu_entry' => ['mixed', 'key'=>'string', 'generator'=>'callable', 'ttl='=>'int'],
145145
'apcu_exists' => ['bool', 'keys'=>'string'],
146146
'apcu_exists\'1' => ['array', 'keys'=>'string[]'],
147147
'apcu_fetch' => ['mixed', 'key'=>'string|string[]', '&w_success='=>'bool'],
148-
'apcu_inc' => ['int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
148+
'apcu_inc' => ['false|int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
149149
'apcu_sma_info' => ['__benevolent<array|false>', 'limited='=>'bool'],
150150
'apcu_store' => ['bool', 'key'=>'string', 'var='=>'', 'ttl='=>'int'],
151151
'apcu_store\'1' => ['array', 'values'=>'array', 'unused='=>'', 'ttl='=>'int'],

0 commit comments

Comments
 (0)