Page MenuHomePhorge

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

Authored by aklapper on Mon, Mar 31, 19:29.
Tags
None
Referenced Files
F3777009: D25938.1745869495.diff
Sun, Apr 27, 19:44
F3763833: D25938.1745840337.diff
Sun, Apr 27, 11:38
F3753273: D25938.1745812201.diff
Sun, Apr 27, 03:50
F3605196: D25938.1745256836.diff
Sun, Apr 20, 17:33
F3553900: D25938.1744962054.diff
Thu, Apr 17, 07:40
F3553621: D25938.1744947026.diff
Thu, Apr 17, 03:30
F3551807: D25938.1744902556.diff
Wed, Apr 16, 15:09
F3539377: D25938.1744895988.diff
Wed, Apr 16, 13:19

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