Skip to content

Commit

Permalink
Update SwarkJSONEncodeOperator.php to add a default value
Browse files Browse the repository at this point in the history
missing '=' in parameter declaration causing it to be missing a 'default' property,
leading to a Undefined index error.
  • Loading branch information
IotaBlack authored Jan 17, 2020
1 parent 2a31243 commit 7e06650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoloads/classes/SwarkJSONEncodeOperator.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SwarkJSONEncodeOperator extends SwarkOperator

function __construct()
{
parent::__construct( 'json_encode', 'value' );
parent::__construct( 'json_encode', 'value=' );
}

static private function getOptions()
Expand Down

0 comments on commit 7e06650

Please sign in to comment.