Page MenuHomeDevCentral

D2933.id7469.diff
No OneTemporary

D2933.id7469.diff

diff --git a/app/Phabricator/PhabricatorAPI.php b/app/Phabricator/PhabricatorAPI.php
--- a/app/Phabricator/PhabricatorAPI.php
+++ b/app/Phabricator/PhabricatorAPI.php
@@ -114,7 +114,7 @@
/**
* Gets the first result of an API reply.
*/
- public static function getFirstResult (iterable $reply) : mixed {
+ public static function getFirstResult (iterable|\stdClass $reply) : mixed {
if (is_object($reply) && property_exists($reply, 'data')) {
$reply = $reply->data;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 9, 04:03 (15 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2715209
Default Alt Text
D2933.id7469.diff (521 B)

Event Timeline