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
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
F3329302: D25932.1743473648.diff
Mon, Mar 31, 02:14
F3329134: D25932.1743469597.diff
Mon, Mar 31, 01:06

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