Page MenuHomePhorge

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

Authored by aklapper on Mon, Mar 31, 19:30.
Tags
None
Referenced Files
F3552854: D25939.1744909643.diff
Wed, Apr 16, 17:07
F3542122: D25939.1744897339.diff
Wed, Apr 16, 13:42
F3533049: D25939.1744891627.diff
Wed, Apr 16, 12:07
F3531952: D25939.1744886825.diff
Wed, Apr 16, 10:47
F3531951: D25939.1744886808.diff
Wed, Apr 16, 10:46
F3531866: D25939.1744885530.diff
Wed, Apr 16, 10:25
F3498928: D25939.1744793388.diff
Tue, Apr 15, 08:49
F3483423: D25939.1744771480.diff
Tue, Apr 15, 02:44

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable