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 7e7d3a4 commit a8cbb84Copy full SHA for a8cbb84
src/Controllers/StoplightController.php
@@ -41,7 +41,7 @@ protected function parseSpec(string $sourcePath): array
41
default => throw new LogicException("You should specify .yaml or .json file as a source. \"$sourcePath\" was given instead"),
42
};
43
44
- return json_decode(json_encode($spec->getSerializableData(), true));
+ return json_decode(json_encode($spec->getSerializableData()), true);
45
}
46
47
protected function addPrefix(array $spec): array
0 commit comments