Page MenuHomePhorge

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

Authored by aklapper on Mar 31 2025, 19:30.
Tags
None
Referenced Files
F4116833: D25939.1746973777.diff
Sat, May 10, 14:29
F4115202: D25939.1746945247.diff
Sat, May 10, 06:34
F4102522: D25939.1746899318.diff
Fri, May 9, 17:48
F4077041: D25939.1746884363.diff
Fri, May 9, 13:39
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

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