Skip to content

Commit

Permalink
Merge pull request #183 from buckaroo-it/BA-370-php-function-as-param…
Browse files Browse the repository at this point in the history
…eter-issue

BA-383 Fix issue when a built in PHP function name is sent in the payload
  • Loading branch information
DjellzeBllaca authored Jul 18, 2024
2 parents 606f088 + 1b19b23 commit 6baa604
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Services/ServiceListParameters/ServiceListParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ protected function appendParameter(?int $groupKey, ?string $groupType, string $n
{
if (! is_null($value))
{
if (is_callable($value))
{
$this->serviceList->appendParameter($value($groupKey, $groupType));

return $this;
}

$this->serviceList->appendParameter([
"Name" => $name,
"Value" => $value,
Expand Down

0 comments on commit 6baa604

Please sign in to comment.