Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15518216
D20140.id48081.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
861 B
Referenced Files
None
Subscribers
None
D20140.id48081.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->parameters);
- 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->parameters);
- return (string)$uri;
+ return phutil_string_cast($uri);
}
abstract public function getPlaceholderText();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 20, 12:06 PM (4 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7738355
Default Alt Text
D20140.id48081.diff (861 B)
Attached To
Mode
D20140: Use "phutil_string_cast()" in TypeaheadDatasource
Attached
Detach File
Event Timeline
Log In to Comment