|
@@ -101,7 +101,7 @@ discard block |
|
|
block discarded – undo |
|
101
|
101
|
return $this; |
|
102
|
102
|
} |
|
103
|
103
|
|
|
104
|
|
- public function getConfigs(bool $decode = false): string|array |
|
|
104
|
+ public function getConfigs(bool $decode = false): string | array |
|
105
|
105
|
{ |
|
106
|
106
|
// Ensure we're decoding a string, even if it was temporarily an array internally |
|
107
|
107
|
$configString = is_array($this->configs) ? json_encode($this->configs) : $this->configs; |
|
@@ -115,7 +115,7 @@ discard block |
|
|
block discarded – undo |
|
115
|
115
|
return $this->setConfigs($configs); |
|
116
|
116
|
} |
|
117
|
117
|
|
|
118
|
|
- public function setConfigs(array|object $configs): self |
|
|
118
|
+ public function setConfigs(array | object $configs): self |
|
119
|
119
|
{ |
|
120
|
120
|
$this->configs = json_encode($configs); |
|
121
|
121
|
return $this; |
Please login to merge, or discard this patch.