Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Commit 8208e25

Browse files
committed
fix sf/yaml dep version (4.0 introduces BC)
1 parent 1bf3d51 commit 8208e25

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ext-curl": "*",
1010
"skrz/meta": "^3.1",
1111
"symfony/finder": "~2.7|~3.0|~4.0",
12-
"symfony/yaml": "~2.7|~3.0|~4.0"
12+
"symfony/yaml": "~4.0"
1313
},
1414
"require-dev": {
1515
"cdn77/coding-standard": "^0.5",

src/Response/ResponseData.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public function getYaml() : ?string
9797
*/
9898
public function getParsedYaml(int $flags = 0) : array
9999
{
100-
return Yaml::parse($this->getYaml(), $flags);
100+
return Yaml::parse(
101+
(string) $this->getYaml(),
102+
$flags
103+
);
101104
}
102105
}

0 commit comments

Comments
 (0)