HomePhorge

Add a missing (string) cast to repository.query

Description

Add a missing (string) cast to repository.query

Summary: The method returns a PhutilURI object, which json_encode() encodes as "{}" since all the properties are private.

Test Plan:
Examined the output of "repository.query" more carefully:

"0" : {
  "name"      : "Phabricator",
  "callsign"  : "P",
  "vcs"       : "git",
  "uri"       : "http:\/\/local.aphront.com:8080\/diffusion\/P\/",
  "remoteURI" : "git:\/\/github.com\/facebook\/phabricator.git",
  "tracking"  : true
},

Reviewers: csilvers, btrahan, vrana, jungejason

Reviewed By: csilvers

CC: aran

Differential Revision: https://secure.phabricator.com/D2402

Details

Provenance
epriestleyAuthored on May 4 2012, 5:08 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPa122336b3e8c: Try to diagnose App Login only for OAuth providers which support it
Branches
Unknown
Tags
Unknown

Event Timeline