mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix invalid return type in callmap.
apu_delete() only returns boolean. http://php.net/manual/en/function.apcu-delete.php
This commit is contained in:
parent
40a91eab6e
commit
7298638dff
@ -234,7 +234,7 @@ return [
|
||||
'apcu_cas' => ['bool', 'key'=>'string', 'old'=>'int', 'new'=>'int'],
|
||||
'apcu_clear_cache' => ['bool'],
|
||||
'apcu_dec' => ['int', 'key'=>'string', 'step='=>'int', '&w_success='=>'bool', 'ttl='=>'int'],
|
||||
'apcu_delete' => ['bool|array<int,string>', 'key'=>'string|string[]|APCUIterator'],
|
||||
'apcu_delete' => ['bool', 'key'=>'string|string[]|APCUIterator'],
|
||||
'apcu_enabled' => ['bool'],
|
||||
'apcu_entry' => ['mixed', 'key'=>'string', 'generator'=>'callable', 'ttl='=>'int'],
|
||||
'apcu_exists' => ['bool', 'keys'=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user