aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Exception/IncorrectFunctionParameterException.php
Commit message (Collapse)AuthorAgeFilesLines
* Support unlimited args for min, max default funcs. (#106)Fatih Kızmaz2022-05-131-0/+16
* Support unlimited args for min, max default funcs. Default functions max and min were requiring 2 arguments strictly. Now they supoort unlimited args, same as php's min, max funcs. * Improved functions: support unlimited parameters (see min, max funcs), optional parameters (see round func), parameters with types (see round func, throws IncorrectFunctionParameterException on unmatched type, union types and intersection types not supported because of min php level! there is a todo for this, to support them later @see CustomFunction@execute) Also added unittests for improvements. * Run php-cs-fixer fix