Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
5beeb923
Commit
5beeb923
authored
10 years ago
by
Morris Jobke
Browse files
Options
Downloads
Plain Diff
Merge pull request #11365 from owncloud/fix-phpdoc
Fix PHPDoc
parents
e881be79
b4944ffc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/naturalsort.php
+4
-4
4 additions, 4 deletions
lib/private/naturalsort.php
with
4 additions
and
4 deletions
lib/private/naturalsort.php
+
4
−
4
View file @
5beeb923
...
...
@@ -55,7 +55,7 @@ class NaturalSort {
/**
* Returns the string collator
* @return Collator string collator
* @return
\
Collator string collator
*/
private
function
getCollator
()
{
if
(
!
isset
(
$this
->
collator
))
{
...
...
@@ -73,9 +73,9 @@ class NaturalSort {
/**
* Compare two strings to provide a natural sort
* @param $a first string to compare
* @param $b second string to compare
* @return -1 if $b comes before $a, 1 if $a comes before $b
* @param
string
$a first string to compare
* @param
string
$b second string to compare
* @return
int
-1 if $b comes before $a, 1 if $a comes before $b
* or 0 if the strings are identical
*/
public
function
compare
(
$a
,
$b
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment