Skip to content

Commit bd80059

Browse files
committed
removed dots at the end of @param and @return
1 parent 6e50d3e commit bd80059

23 files changed

+122
-122
lines changed

Collator/Collator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Collator
7070
/**
7171
* Constructor.
7272
*
73-
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en").
73+
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
7474
*
7575
* @throws MethodArgumentValueNotImplementedException When $locale different than "en" or null is passed
7676
*/
@@ -84,7 +84,7 @@ public function __construct($locale)
8484
/**
8585
* Static constructor.
8686
*
87-
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en").
87+
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
8888
*
8989
* @return Collator
9090
*

Data/Bundle/Compiler/GenrbCompiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
class GenrbCompiler implements BundleCompilerInterface
2424
{
2525
/**
26-
* @var string The path to the "genrb" executable.
26+
* @var string The path to the "genrb" executable
2727
*/
2828
private $genrb;
2929

3030
/**
3131
* Creates a new compiler based on the "genrb" executable.
3232
*
33-
* @param string $genrb Optional. The path to the "genrb" executable.
33+
* @param string $genrb Optional. The path to the "genrb" executable
3434
* @param string $envVars Optional. Environment variables to be loaded when
3535
* running "genrb".
3636
*

Data/Bundle/Reader/BufferedBundleReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BufferedBundleReader implements BundleReaderInterface
3030
/**
3131
* Buffers a given reader.
3232
*
33-
* @param BundleReaderInterface $reader The reader to buffer.
33+
* @param BundleReaderInterface $reader The reader to buffer
3434
* @param int $bufferSize The number of entries to store
3535
* in the buffer.
3636
*/

Data/Bundle/Reader/BundleEntryReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BundleEntryReader implements BundleEntryReaderInterface
4343
/**
4444
* Creates an entry reader based on the given resource bundle reader.
4545
*
46-
* @param BundleReaderInterface $reader A resource bundle reader to use.
46+
* @param BundleReaderInterface $reader A resource bundle reader to use
4747
*/
4848
public function __construct(BundleReaderInterface $reader)
4949
{

Data/Bundle/Reader/BundleEntryReaderInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ interface BundleEntryReaderInterface extends BundleReaderInterface
3737
*
3838
* $reader->readEntry('...', 'en', array('TopLevel', 'NestedLevel', 'Entry'));
3939
*
40-
* @param string $path The path to the resource bundle.
41-
* @param string $locale The locale to read.
42-
* @param string[] $indices The indices to read from the bundle.
40+
* @param string $path The path to the resource bundle
41+
* @param string $locale The locale to read
42+
* @param string[] $indices The indices to read from the bundle
4343
* @param bool $fallback Whether to merge the value with the value from
4444
* the fallback locale (e.g. "en" for "en_GB").
4545
* Only applicable if the result is multivalued

Data/Bundle/Reader/BundleReaderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ interface BundleReaderInterface
2323
/**
2424
* Reads a resource bundle.
2525
*
26-
* @param string $path The path to the resource bundle.
27-
* @param string $locale The locale to read.
26+
* @param string $path The path to the resource bundle
27+
* @param string $locale The locale to read
2828
*
2929
* @return mixed Returns an array or {@link \ArrayAccess} instance for
3030
* complex data, a scalar value otherwise.

Data/Bundle/Writer/BundleWriterInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ interface BundleWriterInterface
2323
/**
2424
* Writes data to a resource bundle.
2525
*
26-
* @param string $path The path to the resource bundle.
27-
* @param string $locale The locale to (over-)write.
28-
* @param mixed $data The data to write.
26+
* @param string $path The path to the resource bundle
27+
* @param string $locale The locale to (over-)write
28+
* @param mixed $data The data to write
2929
*/
3030
public function write($path, $locale, $data);
3131
}

Data/Bundle/Writer/TextBundleWriter.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public function write($path, $locale, $data, $fallback = true)
4343
/**
4444
* Writes a "resourceBundle" node.
4545
*
46-
* @param resource $file The file handle to write to.
47-
* @param string $bundleName The name of the bundle.
48-
* @param mixed $value The value of the node.
46+
* @param resource $file The file handle to write to
47+
* @param string $bundleName The name of the bundle
48+
* @param mixed $value The value of the node
4949
* @param bool $fallback Whether the resource bundle should be merged
5050
* with the fallback locale.
5151
*
@@ -63,9 +63,9 @@ private function writeResourceBundle($file, $bundleName, $value, $fallback)
6363
/**
6464
* Writes a "resource" node.
6565
*
66-
* @param resource $file The file handle to write to.
67-
* @param mixed $value The value of the node.
68-
* @param int $indentation The number of levels to indent.
66+
* @param resource $file The file handle to write to
67+
* @param mixed $value The value of the node
68+
* @param int $indentation The number of levels to indent
6969
* @param bool $requireBraces Whether to require braces to be printed
7070
* around the value.
7171
*
@@ -118,8 +118,8 @@ private function writeResource($file, $value, $indentation, $requireBraces = tru
118118
/**
119119
* Writes an "integer" node.
120120
*
121-
* @param resource $file The file handle to write to.
122-
* @param int $value The value of the node.
121+
* @param resource $file The file handle to write to
122+
* @param int $value The value of the node
123123
*
124124
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
125125
*/
@@ -131,9 +131,9 @@ private function writeInteger($file, $value)
131131
/**
132132
* Writes an "intvector" node.
133133
*
134-
* @param resource $file The file handle to write to.
135-
* @param array $value The value of the node.
136-
* @param int $indentation The number of levels to indent.
134+
* @param resource $file The file handle to write to
135+
* @param array $value The value of the node
136+
* @param int $indentation The number of levels to indent
137137
*
138138
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
139139
*/
@@ -151,8 +151,8 @@ private function writeIntVector($file, array $value, $indentation)
151151
/**
152152
* Writes a "string" node.
153153
*
154-
* @param resource $file The file handle to write to.
155-
* @param string $value The value of the node.
154+
* @param resource $file The file handle to write to
155+
* @param string $value The value of the node
156156
* @param bool $requireBraces Whether to require braces to be printed
157157
* around the value.
158158
*
@@ -172,9 +172,9 @@ private function writeString($file, $value, $requireBraces = true)
172172
/**
173173
* Writes an "array" node.
174174
*
175-
* @param resource $file The file handle to write to.
176-
* @param array $value The value of the node.
177-
* @param int $indentation The number of levels to indent.
175+
* @param resource $file The file handle to write to
176+
* @param array $value The value of the node
177+
* @param int $indentation The number of levels to indent
178178
*
179179
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
180180
*/
@@ -196,9 +196,9 @@ private function writeArray($file, array $value, $indentation)
196196
/**
197197
* Writes a "table" node.
198198
*
199-
* @param resource $file The file handle to write to.
200-
* @param array|\Traversable $value The value of the node.
201-
* @param int $indentation The number of levels to indent.
199+
* @param resource $file The file handle to write to
200+
* @param array|\Traversable $value The value of the node
201+
* @param int $indentation The number of levels to indent
202202
* @param bool $fallback Whether the table should be merged
203203
* with the fallback locale.
204204
*

Data/Generator/GeneratorConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function getBundleWriters()
6868
* Returns the directory where the source versions of the resource bundles
6969
* are stored.
7070
*
71-
* @return string An absolute path to a directory.
71+
* @return string An absolute path to a directory
7272
*/
7373
public function getSourceDir()
7474
{
@@ -78,7 +78,7 @@ public function getSourceDir()
7878
/**
7979
* Returns the ICU version of the bundles being converted.
8080
*
81-
* @return string The ICU version string.
81+
* @return string The ICU version string
8282
*/
8383
public function getIcuVersion()
8484
{

Data/Provider/CurrencyDataProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class CurrencyDataProvider
4646
* Creates a data provider that reads currency-related data from a
4747
* resource bundle.
4848
*
49-
* @param string $path The path to the resource bundle.
50-
* @param BundleEntryReaderInterface $reader The reader for reading the resource bundle.
49+
* @param string $path The path to the resource bundle
50+
* @param BundleEntryReaderInterface $reader The reader for reading the resource bundle
5151
*/
5252
public function __construct($path, BundleEntryReaderInterface $reader)
5353
{

DateFormatter/IntlDateFormatter.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class IntlDateFormatter
129129
/**
130130
* Constructor.
131131
*
132-
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en").
132+
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
133133
* @param int $datetype Type of date formatting, one of the format type constants
134134
* @param int $timetype Type of time formatting, one of the format type constants
135135
* @param mixed $timezone Timezone identifier
@@ -163,11 +163,11 @@ public function __construct($locale, $datetype, $timetype, $timezone = null, $ca
163163
/**
164164
* Static constructor.
165165
*
166-
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en").
166+
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
167167
* @param int $datetype Type of date formatting, one of the format type constants
168168
* @param int $timetype Type of time formatting, one of the format type constants
169169
* @param string $timezone Timezone identifier
170-
* @param int $calendar Calendar to use for formatting or parsing; default is Gregorian.
170+
* @param int $calendar Calendar to use for formatting or parsing; default is Gregorian
171171
* One of the calendar constants.
172172
* @param string $pattern Optional pattern to use when formatting
173173
*
@@ -190,7 +190,7 @@ public static function create($locale, $datetype, $timetype, $timezone = null, $
190190
* @param int|\DateTime $timestamp The timestamp to format. \DateTime objects
191191
* are supported as of PHP 5.3.4.
192192
*
193-
* @return string|bool The formatted value or false if formatting failed.
193+
* @return string|bool The formatted value or false if formatting failed
194194
*
195195
* @see http://www.php.net/manual/en/intldateformatter.format.php
196196
*
@@ -393,7 +393,7 @@ public function getTimeZone()
393393
/**
394394
* Returns whether the formatter is lenient.
395395
*
396-
* @return bool Currently always returns false.
396+
* @return bool Currently always returns false
397397
*
398398
* @see http://www.php.net/manual/en/intldateformatter.islenient.php
399399
*
@@ -408,7 +408,7 @@ public function isLenient()
408408
* Not supported. Parse string to a field-based time value.
409409
*
410410
* @param string $value String to convert to a time value
411-
* @param int $position Position at which to start the parsing in $value (zero-based).
411+
* @param int $position Position at which to start the parsing in $value (zero-based)
412412
* If no error occurs before $value is consumed, $parse_pos will
413413
* contain -1 otherwise it will contain the position at which parsing
414414
* ended. If $parse_pos > strlen($value), the parse fails immediately.
@@ -428,7 +428,7 @@ public function localtime($value, &$position = 0)
428428
* Parse string to a timestamp value.
429429
*
430430
* @param string $value String to convert to a time value
431-
* @param int $position Not supported. Position at which to start the parsing in $value (zero-based).
431+
* @param int $position Not supported. Position at which to start the parsing in $value (zero-based)
432432
* If no error occurs before $value is consumed, $parse_pos will
433433
* contain -1 otherwise it will contain the position at which parsing
434434
* ended. If $parse_pos > strlen($value), the parse fails immediately.
@@ -461,7 +461,7 @@ public function parse($value, &$position = null)
461461
/**
462462
* Not supported. Set the formatter's calendar.
463463
*
464-
* @param string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN.
464+
* @param string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN
465465
*
466466
* @return bool true on success or false on failure
467467
*
@@ -524,7 +524,7 @@ public function setPattern($pattern)
524524
/**
525525
* Set the formatter's timezone identifier.
526526
*
527-
* @param string $timeZoneId The time zone ID string of the time zone to use.
527+
* @param string $timeZoneId The time zone ID string of the time zone to use
528528
* If NULL or the empty string, the default time zone for the
529529
* runtime is used.
530530
*

Intl.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ final class Intl
101101
/**
102102
* Returns whether the intl extension is installed.
103103
*
104-
* @return bool Returns true if the intl extension is installed, false otherwise.
104+
* @return bool Returns true if the intl extension is installed, false otherwise
105105
*/
106106
public static function isExtensionLoaded()
107107
{
@@ -111,7 +111,7 @@ public static function isExtensionLoaded()
111111
/**
112112
* Returns the bundle containing currency information.
113113
*
114-
* @return CurrencyBundleInterface The currency resource bundle.
114+
* @return CurrencyBundleInterface The currency resource bundle
115115
*/
116116
public static function getCurrencyBundle()
117117
{
@@ -129,7 +129,7 @@ public static function getCurrencyBundle()
129129
/**
130130
* Returns the bundle containing language information.
131131
*
132-
* @return LanguageBundleInterface The language resource bundle.
132+
* @return LanguageBundleInterface The language resource bundle
133133
*/
134134
public static function getLanguageBundle()
135135
{
@@ -151,7 +151,7 @@ public static function getLanguageBundle()
151151
/**
152152
* Returns the bundle containing locale information.
153153
*
154-
* @return LocaleBundleInterface The locale resource bundle.
154+
* @return LocaleBundleInterface The locale resource bundle
155155
*/
156156
public static function getLocaleBundle()
157157
{
@@ -168,7 +168,7 @@ public static function getLocaleBundle()
168168
/**
169169
* Returns the bundle containing region information.
170170
*
171-
* @return RegionBundleInterface The region resource bundle.
171+
* @return RegionBundleInterface The region resource bundle
172172
*/
173173
public static function getRegionBundle()
174174
{
@@ -186,7 +186,7 @@ public static function getRegionBundle()
186186
/**
187187
* Returns the version of the installed ICU library.
188188
*
189-
* @return null|string The ICU version or NULL if it could not be determined.
189+
* @return null|string The ICU version or NULL if it could not be determined
190190
*/
191191
public static function getIcuVersion()
192192
{
@@ -216,7 +216,7 @@ public static function getIcuVersion()
216216
/**
217217
* Returns the version of the installed ICU data.
218218
*
219-
* @return string The version of the installed ICU data.
219+
* @return string The version of the installed ICU data
220220
*/
221221
public static function getIcuDataVersion()
222222
{
@@ -230,7 +230,7 @@ public static function getIcuDataVersion()
230230
/**
231231
* Returns the ICU version that the stub classes mimic.
232232
*
233-
* @return string The ICU version of the stub classes.
233+
* @return string The ICU version of the stub classes
234234
*/
235235
public static function getIcuStubVersion()
236236
{

NumberFormatter/NumberFormatter.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ class NumberFormatter
257257
/**
258258
* Constructor.
259259
*
260-
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en").
261-
* @param int $style Style of the formatting, one of the format style constants.
260+
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
261+
* @param int $style Style of the formatting, one of the format style constants
262262
* The only supported styles are NumberFormatter::DECIMAL
263263
* and NumberFormatter::CURRENCY.
264264
* @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -294,8 +294,8 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
294294
/**
295295
* Static constructor.
296296
*
297-
* @param string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en").
298-
* @param int $style Style of the formatting, one of the format style constants.
297+
* @param string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en")
298+
* @param int $style Style of the formatting, one of the format style constants
299299
* The only currently supported styles are NumberFormatter::DECIMAL
300300
* and NumberFormatter::CURRENCY.
301301
* @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -356,7 +356,7 @@ public function formatCurrency($value, $currency)
356356
* Format a number.
357357
*
358358
* @param number $value The value to format
359-
* @param int $type Type of the formatting, one of the format type constants.
359+
* @param int $type Type of the formatting, one of the format type constants
360360
* Only type NumberFormatter::TYPE_DEFAULT is currently supported.
361361
*
362362
* @return bool|string The formatted value or false on error
@@ -566,10 +566,10 @@ public function parse($value, $type = self::TYPE_DOUBLE, &$position = 0)
566566
/**
567567
* Set an attribute.
568568
*
569-
* @param int $attr An attribute specifier, one of the numeric attribute constants.
569+
* @param int $attr An attribute specifier, one of the numeric attribute constants
570570
* The only currently supported attributes are NumberFormatter::FRACTION_DIGITS,
571571
* NumberFormatter::GROUPING_USED and NumberFormatter::ROUNDING_MODE.
572-
* @param int $value The attribute value.
572+
* @param int $value The attribute value
573573
*
574574
* @return bool true on success or false on failure
575575
*

0 commit comments

Comments
 (0)