We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283e9e3 commit 79eea10Copy full SHA for 79eea10
composer.json
@@ -13,7 +13,7 @@
13
}
14
],
15
"require": {
16
- "php": "^7.1.10",
+ "php": ">=7.1.10",
17
"ext-curl": "*",
18
"elementaryframework/events": "^0.0.1",
19
"elementaryframework/streams": "^0.0.2"
@@ -39,4 +39,4 @@
39
"ElementaryFramework\\WaterPipe\\": "src/WaterPipe/"
40
41
42
-}
+}
src/WaterPipe/Routing/Router.php
@@ -187,7 +187,7 @@ private function _detectUri()
187
188
switch ($contentType) {
189
case "application/json":
190
- $data = new RequestData(json_decode($rawData, true));
+ $data = new RequestData((array)json_decode($rawData, true));
191
break;
192
case "application/xml":
193
$data = new RequestData((array)simplexml_load_string($rawData));
0 commit comments