Skip to content

Commit 236a9c2

Browse files
committed
hotfix: Complete API coverage with missing @method annotations
- Add 22+ missing @method annotations for complete Discogs API coverage - Fix broken collectionFolder() method (was mapped to non-existent endpoint) - Replace with collectionFolderGet() mapping to collection.folder.get - Update documentation to reflect correct method names - Maintain logical grouping of marketplace methods (listings → fees → stats → orders) This hotfix addresses incomplete PHPDoc coverage discovered in v3.0.0 and fixes a broken method that was causing runtime errors. Breaking Change: collectionFolder() → collectionFolderGet() This is documented as a bugfix since the original method was non-functional.
1 parent 769ff3c commit 236a9c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
- Incorrect legacy method mappings in UPGRADE guide
2121
- Missing PHPDoc annotations causing incomplete IDE support
2222
- PSR-12 compliance issues in documentation examples
23+
- Broken `collectionFolder()` method annotation (replaced with working `collectionFolderGet()`)
2324

2425
### Documentation
2526

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ For complete API documentation including all available parameters, visit the [Di
264264

265265
- `collectionFolders($params)` – Get user's collection folders
266266
- `collectionItems($params)` – Get collection items by folder
267-
- `collectionFolder($params)` – Get specific collection folder
267+
- `collectionFolderGet($params)` – Get specific collection folder
268268

269269
#### User Methods
270270

0 commit comments

Comments
 (0)