Skip to content

Commit 12e03bc

Browse files
committed
Update Json.php
1 parent 4e5ccd3 commit 12e03bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webfiori/json/Json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Json {
106106
* will be ignored if the constant 'WF_VERBOSE' is defined and is set to true.
107107
*
108108
*/
109-
public function __construct(array $initialData = [], string $propsStyle = null, string $lettersCase = null, bool $isFormatted = false) {
109+
public function __construct(array $initialData = [], ?string $propsStyle = '', ?string $lettersCase = '', bool $isFormatted = false) {
110110
$this->propsArr = [];
111111

112112
$this->setIsFormatted($isFormatted === true || (defined('WF_VERBOSE') && WF_VERBOSE === true));

0 commit comments

Comments
 (0)