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
F3605550: D25939.1745277432.diff
Sun, Apr 20, 23:17
F3553492: D25939.1744936876.diff
Thu, Apr 17, 00:41
F3553369: D25939.1744929810.diff
Wed, Apr 16, 22:43
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

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