]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix PHPDoc
authorLukas Reschke <lukas@owncloud.com>
Tue, 30 Sep 2014 11:34:50 +0000 (13:34 +0200)
committerLukas Reschke <lukas@owncloud.com>
Tue, 30 Sep 2014 11:34:50 +0000 (13:34 +0200)
lib/private/naturalsort.php

index e10ce8e45e72fa97bbaa7853b157e83a58df6ef4..eb00f99a672295fc95b808adc1473b55ee98d824 100644 (file)
@@ -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) {