Skip to content

Commit a8cbb84

Browse files
author
Evgeny Bereza
committed
#94010 Добавлен преффикс к url api. Часть 2
1 parent 7e7d3a4 commit a8cbb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/StoplightController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function parseSpec(string $sourcePath): array
4141
default => throw new LogicException("You should specify .yaml or .json file as a source. \"$sourcePath\" was given instead"),
4242
};
4343

44-
return json_decode(json_encode($spec->getSerializableData(), true));
44+
return json_decode(json_encode($spec->getSerializableData()), true);
4545
}
4646

4747
protected function addPrefix(array $spec): array

0 commit comments

Comments
 (0)