Page MenuHomePhorge

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

Authored by aklapper on Sat, Mar 29, 09:28.

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
Branch
phpDocsReturnConst (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1822
Build 1822: arc lint + arc unit