refactor: add return types to Eloquent query scopes #16
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
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-agentic#16
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?
Issue
18 Eloquent query scopes are missing return type declarations.
Affected Files
Models/Task.php: scopePending, scopeInProgress, scopeDone, scopeActiveModels/AgentSession.php: scopeActive, scopeForPlanModels/AgentApiKey.php: scopeActive, scopeRevoked, scopeExpiredModels/AgentPhase.php: scopePending, scopeInProgress, scopeCompleted, scopeBlockedModels/AgentPlan.php: scopeActive, scopeDraft, scopeNotArchived, scopeOrderByStatusModels/Prompt.php: scopeActive, scopeCategory, scopeForModelModels/AgentWorkspaceState.php: scopeForPlan, scopeOfTypeModels/WorkspaceState.php: scopeForPlan, scopeByTypeExpected Change
Add
: Builderreturn type to all scopes:Acceptance Criteria
Builderclass in each modelReferences