Explorar o código

Fixed the doc to use the new format for versions

Christophe Coevoet %!s(int64=13) %!d(string=hai) anos
pai
achega
ca5662b143
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      doc/02-libraries.md

+ 4 - 3
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": {