@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.

transaction.search: Fix PhpDoc

Summary: `isObjectTypeSupported()` returns a `bool`.

Test Plan: Run static code analysis; see its `return` line.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

+3 -4
+3 -4
src/applications/transactions/conduit/TransactionSearchConduitAPIMethod.php
··· 483 483 } 484 484 485 485 /** 486 - * Get a new object from a 'objectType' API parameter. 487 - * @param $type PhabricatorPHIDType 488 - * @return PhabricatorApplicationTransactionInterface|null 489 - * Get the new object, or null when the type is not supported. 486 + * Check whether an object type is supported. 487 + * @param PhabricatorPHIDType $type 488 + * @return bool True if the type is supported. 490 489 */ 491 490 private function isObjectTypeSupported($type) { 492 491 $obj = $type->newObject();