Skip to content

Commit a041bb5

Browse files
authored
More code style fixes (#118)
1 parent 9538001 commit a041bb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NXP/Classes/CustomFunction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ class CustomFunction
1616
public $function;
1717

1818
private bool $isVariadic;
19+
1920
private int $totalParamCount;
21+
2022
private int $requiredParamCount;
2123

2224
/**
@@ -45,6 +47,7 @@ public function execute(array &$stack, int $paramCountInStack) : Token
4547
if ($paramCountInStack < $this->requiredParamCount) {
4648
throw new IncorrectNumberOfFunctionParametersException($this->name);
4749
}
50+
4851
if ($paramCountInStack > $this->totalParamCount && ! $this->isVariadic) {
4952
throw new IncorrectNumberOfFunctionParametersException($this->name);
5053
}

0 commit comments

Comments
 (0)