Browse Source

Merge pull request #7286 from stof/patch-1

Fix the JSON schema for package repositories
Rob 7 năm trước cách đây
mục cha
commit
69d25c090e
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      res/composer-schema.json

+ 1 - 3
res/composer-schema.json

@@ -678,9 +678,7 @@
                         { "$ref": "#/definitions/inline-package" },
                         {
                             "type": "array",
-                            "items": {
-                                "type": { "$ref": "#/definitions/inline-package" }
-                            }
+                            "items": { "$ref": "#/definitions/inline-package" }
                         }
                     ]
                 }