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
F3356354: D25939.1743881726.diff
Fri, Apr 4, 19:35
F3355786: D25939.1743877323.diff
Fri, Apr 4, 18:22
F3355267: D25939.1743873134.diff
Fri, Apr 4, 17:12
F3354545: D25939.1743862456.diff
Fri, Apr 4, 14:14
F3353322: D25939.1743833522.diff
Fri, Apr 4, 06:12
F3352654: D25939.1743803399.diff
Thu, Apr 3, 21:49
F3350751: D25939.1743775045.diff
Thu, Apr 3, 13:57
F3338253: D25939.1743601603.diff
Tue, Apr 1, 13: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