aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/CustomFunction.php
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2020-05-20 06:16:13 +0300
committerGitHub <noreply@github.com>2020-05-20 06:16:13 +0300
commit2c18fbb2452baa1839f9102b309de1967b30307d (patch)
treebb1049748d4b6f12209d0a868fb17592b85789ea /src/NXP/Classes/CustomFunction.php
parentd195b3e909ddcd2f983d303164a1855c3557c7ff (diff)
parent949334d6c37d384800c639ba9941e94f5157f5ac (diff)
Merge branch 'master' into neonxp-ng
Diffstat (limited to 'src/NXP/Classes/CustomFunction.php')
-rw-r--r--src/NXP/Classes/CustomFunction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/CustomFunction.php b/src/NXP/Classes/CustomFunction.php
index 636435c..bf36405 100644
--- a/src/NXP/Classes/CustomFunction.php
+++ b/src/NXP/Classes/CustomFunction.php
@@ -32,7 +32,7 @@ class CustomFunction
* @param int $places
* @throws ReflectionException
*/
- public function __construct(string $name, callable $function, int $places = null)
+ public function __construct(string $name, callable $function, ?int $places = null)
{
$this->name = $name;
$this->function = $function;