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
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
F3530830: D25938.1744878556.diff
Wed, Apr 16, 08:29
F3530810: D25938.1744876244.diff
Wed, Apr 16, 07:50
F3530809: D25938.1744876205.diff
Wed, Apr 16, 07:50

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