Skip to content

Commit

Permalink
Fix error when a php function name is sent in the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
DjellzeBllaca committed Jul 16, 2024
1 parent 606f088 commit 1a5a55a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function appendParameter(?int $groupKey, ?string $groupType, string $n
{
if (! is_null($value))
{
if (is_callable($value))
if (method_exists($this, $value))
{
$this->serviceList->appendParameter($value($groupKey, $groupType));

Expand Down

0 comments on commit 1a5a55a

Please sign in to comment.