docs: add comprehensive @param and @return annotations #17
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
epic
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-api#17
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Documentation Improvement
Files Needing Enhanced Documentation
Priority Files:
src/Api/Controllers/McpApiController.phpsrc/Api/Middleware/RateLimitApi.phpresolveRateLimitConfig()- Document all possible config keysgetWorkspaceTier()- Missing @return annotationsrc/Api/Services/IpRestrictionService.phpparseWhitelistInput()- Add examples of multi-line formatWhat's Needed
Array Shape Documentation - Use PHPDoc array shapes:
Complex Return Types - Document structure of returned arrays/objects
Examples - Add usage examples for complex methods
Edge Cases - Document behavior for null/empty inputs
Benefits
Priority
Low - Code works but documentation could be clearer