Skip to content

Commit 9d5d564

Browse files
committed
fixed @return when returning this or static
1 parent 76a4f2f commit 9d5d564

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Collator/Collator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function __construct($locale)
8686
*
8787
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
8888
*
89-
* @return Collator
89+
* @return self
9090
*
9191
* @throws MethodArgumentValueNotImplementedException When $locale different than "en" or null is passed
9292
*/

DateFormatter/IntlDateFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function __construct($locale, $datetype, $timetype, $timezone = null, $ca
171171
* One of the calendar constants.
172172
* @param string $pattern Optional pattern to use when formatting
173173
*
174-
* @return IntlDateFormatter
174+
* @return self
175175
*
176176
* @see http://www.php.net/manual/en/intldateformatter.create.php
177177
* @see http://userguide.icu-project.org/formatparse/datetime

NumberFormatter/NumberFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
302302
* NumberFormat::PATTERN_RULEBASED. It must conform to the syntax
303303
* described in the ICU DecimalFormat or ICU RuleBasedNumberFormat documentation
304304
*
305-
* @return NumberFormatter
305+
* @return self
306306
*
307307
* @see http://www.php.net/manual/en/numberformatter.create.php
308308
* @see http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#_details

Util/SvnRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class SvnRepository
4242
* @param string $url The URL to download from
4343
* @param string $targetDir The directory in which to store the repository
4444
*
45-
* @return SvnRepository The directory where the data is stored
45+
* @return static
4646
*
4747
* @throws RuntimeException If an error occurs during the download.
4848
*/

0 commit comments

Comments
 (0)