Skip to content

Commit

Permalink
Mark ceil() return type as float (#5355)
Browse files Browse the repository at this point in the history
https://www.php.net/manual/en/function.ceil.php

The return value of ceil() is still of type float as the value range of float is usually bigger than that of int.
  • Loading branch information
simPod authored Mar 11, 2021
1 parent 5066377 commit 9793f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@
'CallbackFilterIterator::next' => ['void'],
'CallbackFilterIterator::rewind' => ['void'],
'CallbackFilterIterator::valid' => ['bool'],
'ceil' => ['float|int', 'num'=>'float'],
'ceil' => ['float', 'num'=>'float'],
'chdb::__construct' => ['void', 'pathname'=>'string'],
'chdb::get' => ['string', 'key'=>'string'],
'chdb_create' => ['bool', 'pathname'=>'string', 'data'=>'array'],
Expand Down

0 comments on commit 9793f92

Please sign in to comment.