Repository navigation
Multiple type corrections in PHPDoc annotations - #21124
Conversation
mspirkov
commented
Oct 23, 2026
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Database type annotations framework/db/ActiveRelationTrait.php, framework/db/ColumnSchema.php, framework/db/Command.php, framework/db/Migration.php, framework/db/QueryBuilder.php, framework/db/{mssql,oci,pgsql,sqlite}/QueryBuilder.php |
The documentation now allows null for inverseOf and selected ColumnSchema properties. Column method type parameters now include ColumnSchemaBuilder. Migration::$db has documented read and write types. |
Controller and logger annotations framework/console/Controller.php, framework/web/Controller.php, framework/log/Logger.php, tests/framework/log/LoggerTest.php |
Controller annotations distinguish read and write property types. Logger documentation describes six-field records, and test fixtures use six-field records. |
URL parsing and Pjax annotations framework/web/UrlManager.php, framework/web/UrlRule.php, framework/web/UrlRuleInterface.php, framework/widgets/Pjax.php, framework/CHANGELOG.md |
The parseRequest() return annotations specify `array |
Suggested labels: status:code review
Priority:
Change: Other
Merge Risk: 
Minimal · up to 4b925
-
The documentation corrections align with the inspected runtime values and test fixtures, so the change is mergeable.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title "Multiple type corrections in PHPDoc annotations" matches the changeset. The raw summary shows PHPDoc-only type corrections across about 17 files, including ActiveRelationTrait, Command, Migration, QueryBuilder variants, Logger, UrlManager, UrlRule, ColumnSchema, and Pjax. No runtime code changed. The title is specific enough for a reviewer scanning history, though it does not name the individual corrections.
Full details: Description check
-
Explanation
The description is a PR template with the Q/A table (bugfix, new feature, BC break flags) and an empty fixed-issues field. It does not describe the changes, but it is not off-topic. The objectives state the PR is a PHPDoc type correction with no BC break, which matches the template answers. The check is lenient and the description relates to the changeset in a general way.
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 17 files. (1 skipped: 1 unsupported.)
-
Finishing Touches: 💡 1
-
🛠️ Fix failing CI checks: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the types in rows,
Then hops where nullable wording goes.
Six fields sit in the logger’s tray,
A Pjax scroll can choose its way.
The changelog joins the review today.
Comment @coderabbitai help to get the list of available commands.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21124 +/- ##
=========================================
Coverage 81.91% 81.91%
Complexity 11560 11560
=========================================
Files 374 374
Lines 30305 30305
=========================================
Hits 24824 24824
Misses 5481 5481 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
👍 |