Page MenuHomePhorge

PHPDoc: Replace non-existing param type const with string
ClosedPublic

Authored by aklapper on Mon, Mar 31, 19:30.

Details

Summary

const is not a valid type. See https://docs.phpdoc.org/guide/references/phpdoc/types.html and https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html.
Thus set the param type to string and get a few less errors reported by PHPStan.

Test Plan

Read docs; run static code analysis.

Diff Detail

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