From: Lukas Reschke Date: Tue, 30 Sep 2014 11:34:50 +0000 (+0200) Subject: Fix PHPDoc X-Git-Tag: v8.0.0alpha1~584^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4944ffcc525231d5f24212953d7935998296255;p=nextcloud-server.git Fix PHPDoc --- 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) {