Page MenuHomePhorge

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

Authored by aklapper on Sat, Mar 29, 09:28.
Tags
None
Referenced Files
F3604491: D25932.1745205653.diff
Sun, Apr 20, 03:20
F3575611: D25932.1745006083.diff
Thu, Apr 17, 19:54
F3509955: D25932.1744803809.diff
Tue, Apr 15, 11:43
F3492178: D25932.1744784870.diff
Tue, Apr 15, 06:27
F3393673: D25932.1744499343.diff
Fri, Apr 11, 23:09
F3389346: D25932.1744455882.diff
Fri, Apr 11, 11:04
F3388692: D25932.1744447847.diff
Fri, Apr 11, 08:50
F3388690: D25932.1744447844.diff
Fri, Apr 11, 08: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 return string and get 82 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