Skip to content

Commit 5f93405

Browse files
### 0.3.5 - Fix issue with parsing non scalar options
1 parent 7823388 commit 5f93405

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,6 @@
9393

9494
### 0.3.3 - Fix logger path
9595

96-
### 0.3.4 - Fix incorrect json_decoder and encoder
96+
### 0.3.4 - Fix incorrect json_decoder and encoder
97+
98+
### 0.3.5 - Fix issue with parsing non scalar options

src/support/forge/api/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function parseOptions($options, $rootOption = [])
106106
foreach ($options as $key => $option) {
107107
$options[$key] = $this->parseOptions($option, $rootOption);
108108
}
109-
} else {
109+
} elseif (is_scalar($options)) {
110110
if (preg_match('/{{/', $options)) {
111111
foreach ($rootOption as $key => $value) {
112112
if (is_scalar($value)) {

0 commit comments

Comments
 (0)