Skip to content

Commit 49ed1fc

Browse files
committed
:octocat:
1 parent c2d5cce commit 49ed1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SettingsContainerAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function fromIterable(iterable $properties):static{
139139
* @inheritdoc
140140
*/
141141
public function toJSON(int $jsonOptions = null):string{
142-
return json_encode($this, $jsonOptions ?? 0);
142+
return json_encode($this, ($jsonOptions ?? 0));
143143
}
144144

145145
/**

0 commit comments

Comments
 (0)