summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-09-30 16:15:37 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-09-30 16:15:37 +0200
commit5beeb923e66fb3b45004e079fcf13534705c494b (patch)
treef33200a03483ba776bc6c85ac662cd051dd2cf8c /lib
parente881be79266910a9c69571dd4525912a2d799f68 (diff)
parentb4944ffcc525231d5f24212953d7935998296255 (diff)
downloadnextcloud-server-5beeb923e66fb3b45004e079fcf13534705c494b.tar.gz
nextcloud-server-5beeb923e66fb3b45004e079fcf13534705c494b.zip
Merge pull request #11365 from owncloud/fix-phpdoc
Fix PHPDoc
Diffstat (limited to 'lib')
-rw-r--r--lib/private/naturalsort.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/naturalsort.php b/lib/private/naturalsort.php
index e10ce8e45e7..eb00f99a672 100644
--- a/lib/private/naturalsort.php
+++ b/lib/private/naturalsort.php
@@ -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) {