diff --git a/doc/02-libraries.md b/doc/02-libraries.md index d298d3a66..c38f9f7f0 100644 --- a/doc/02-libraries.md +++ b/doc/02-libraries.md @@ -118,9 +118,10 @@ We do this by adding a package repository specification to the blog's { "name": "acme/blog", - "repositories": { - "acme/hello-world": { - "vcs": { "url": "https://github.com/composer/hello-world" } + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/composer/hello-world" } }, "require": {