@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

PhpDoc: Replace non-existing param type mode with string

Summary: `mode` is not a valid type. See https://docs.phpdoc.org/guide/references/phpdoc/types.html

Test Plan: Read docs; run static code analysis.

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26305

+4 -2
+4 -2
src/infrastructure/storage/lisk/LiskDAO.php
··· 250 250 /** 251 251 * Get an existing, cached connection for this object. 252 252 * 253 - * @param mode $mode Connection mode. 253 + * @param string $mode Connection mode: 'r' for read, 'w' for read/write. 254 + * This strings may also have an 'isolate-' prefix. 254 255 * @return AphrontDatabaseConnection|null Connection, if it exists in cache. 255 256 * @task conn 256 257 */ ··· 266 267 /** 267 268 * Store a connection in the connection cache. 268 269 * 269 - * @param mode $mode Connection mode. 270 + * @param string $mode Connection mode: 'r' for read, 'w' for read/write. 271 + * This strings may also have an 'isolate-' prefix. 270 272 * @param AphrontDatabaseConnection $connection Connection to cache. 271 273 * @param bool $force_unique (optional) 272 274 * @return $this