Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15349270
D20140.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
868 B
Referenced Files
None
Subscribers
None
D20140.diff
View Options
diff --git a/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php b/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
--- a/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
+++ b/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
@@ -101,7 +101,7 @@
public function getDatasourceURI() {
$uri = new PhutilURI('/typeahead/class/'.get_class($this).'/');
$uri->setQueryParams($this->newURIParameters());
- return (string)$uri;
+ return phutil_string_cast($uri);
}
public function getBrowseURI() {
@@ -111,7 +111,7 @@
$uri = new PhutilURI('/typeahead/browse/'.get_class($this).'/');
$uri->setQueryParams($this->newURIParameters());
- return (string)$uri;
+ return phutil_string_cast($uri);
}
private function newURIParameters() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 2:53 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7222672
Default Alt Text
D20140.diff (868 B)
Attached To
Mode
D20140: Use "phutil_string_cast()" in TypeaheadDatasource
Attached
Detach File
Event Timeline
Log In to Comment