Page MenuHomePhorge

PHPDoc: Replace invalid "key" and "value" types
ClosedPublic

Authored by aklapper on Apr 8 2025, 15:49.

Details

Summary

Avoid "Parameter has invalid type key" and "Parameter has invalid type value" errors when running static code analysis (PHPStan).
See https://docs.phpdoc.org/guide/references/phpdoc/types.html

Test Plan

Run PHPStan before and after applying this change (and its corresponding Phorge change), get 4 errors less.

Diff Detail

Repository
rARC Arcanist
Branch
PhpDocKeyValue (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1850
Build 1850: arc lint + arc unit