From b4944ffcc525231d5f24212953d7935998296255 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 30 Sep 2014 13:34:50 +0200 Subject: [PATCH] Fix PHPDoc --- lib/private/naturalsort.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/private/naturalsort.php b/lib/private/naturalsort.php index e10ce8e45e..eb00f99a67 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) {