Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15368831
D19212.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
372 B
Referenced Files
None
Subscribers
None
D19212.diff
View Options
diff --git a/src/utils/PhutilSortVector.php b/src/utils/PhutilSortVector.php
--- a/src/utils/PhutilSortVector.php
+++ b/src/utils/PhutilSortVector.php
@@ -44,4 +44,11 @@
return implode("\0", $this->parts);
}
+ /**
+ * This allows you to sort a list of sort vectors using @{function:msortv}.
+ */
+ public function getSelf() {
+ return $this;
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 13 2025, 4:03 AM (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7603909
Default Alt Text
D19212.diff (372 B)
Attached To
Mode
D19212: Allow PhutilSortVector to self-sort
Attached
Detach File
Event Timeline
Log In to Comment