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
F3343367: D25932.1743678843.diff
Wed, Apr 2, 11:14
F3338850: D25932.1743610097.diff
Tue, Apr 1, 16:08
F3332340: D25932.1743522498.diff
Mon, Mar 31, 15:48
F3331685: D25932.1743511163.diff
Mon, Mar 31, 12:39
F3331599: D25932.1743510098.diff
Mon, Mar 31, 12:21
F3331534: D25932.1743508637.diff
Mon, Mar 31, 11:57
F3331483: D25932.1743508149.diff
Mon, Mar 31, 11:49
F3329807: D25932.1743480205.diff
Mon, Mar 31, 04:03

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