Skip to content

Commit c0b0a31

Browse files
keradusfabpot
authored andcommitted
[CS] Apply phpdoc_annotation_without_dot
1 parent 94eb36c commit c0b0a31

File tree

12 files changed

+41
-41
lines changed

12 files changed

+41
-41
lines changed

Data/Bundle/Compiler/GenrbCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GenrbCompiler implements BundleCompilerInterface
3434
* @param string $envVars Optional. Environment variables to be loaded when
3535
* running "genrb".
3636
*
37-
* @throws RuntimeException If the "genrb" cannot be found.
37+
* @throws RuntimeException if the "genrb" cannot be found
3838
*/
3939
public function __construct($genrb = 'genrb', $envVars = '')
4040
{

Data/Bundle/Reader/BufferedBundleReader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class BufferedBundleReader implements BundleReaderInterface
3131
* Buffers a given reader.
3232
*
3333
* @param BundleReaderInterface $reader The reader to buffer
34-
* @param int $bufferSize The number of entries to store
35-
* in the buffer.
34+
* @param int $bufferSize the number of entries to store
35+
* in the buffer
3636
*/
3737
public function __construct(BundleReaderInterface $reader, $bufferSize)
3838
{

Data/Bundle/Reader/BundleEntryReaderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ interface BundleEntryReaderInterface extends BundleReaderInterface
4646
* (i.e. array or \ArrayAccess) or cannot be found
4747
* in the requested locale.
4848
*
49-
* @return mixed Returns an array or {@link \ArrayAccess} instance for
50-
* complex data and a scalar value for simple data.
49+
* @return mixed returns an array or {@link \ArrayAccess} instance for
50+
* complex data and a scalar value for simple data
5151
*
5252
* @throws MissingResourceException If the indices cannot be accessed
5353
*/

Data/Bundle/Reader/BundleReaderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ interface BundleReaderInterface
2626
* @param string $path The path to the resource bundle
2727
* @param string $locale The locale to read
2828
*
29-
* @return mixed Returns an array or {@link \ArrayAccess} instance for
30-
* complex data, a scalar value otherwise.
29+
* @return mixed returns an array or {@link \ArrayAccess} instance for
30+
* complex data, a scalar value otherwise
3131
*/
3232
public function read($path, $locale);
3333
}

Data/Bundle/Writer/TextBundleWriter.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function write($path, $locale, $data, $fallback = true)
4646
* @param resource $file The file handle to write to
4747
* @param string $bundleName The name of the bundle
4848
* @param mixed $value The value of the node
49-
* @param bool $fallback Whether the resource bundle should be merged
50-
* with the fallback locale.
49+
* @param bool $fallback whether the resource bundle should be merged
50+
* with the fallback locale
5151
*
5252
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
5353
*/
@@ -66,8 +66,8 @@ private function writeResourceBundle($file, $bundleName, $value, $fallback)
6666
* @param resource $file The file handle to write to
6767
* @param mixed $value The value of the node
6868
* @param int $indentation The number of levels to indent
69-
* @param bool $requireBraces Whether to require braces to be printed
70-
* around the value.
69+
* @param bool $requireBraces whether to require braces to be printed
70+
* around the value
7171
*
7272
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
7373
*/
@@ -153,8 +153,8 @@ private function writeIntVector($file, array $value, $indentation)
153153
*
154154
* @param resource $file The file handle to write to
155155
* @param string $value The value of the node
156-
* @param bool $requireBraces Whether to require braces to be printed
157-
* around the value.
156+
* @param bool $requireBraces whether to require braces to be printed
157+
* around the value
158158
*
159159
* @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt
160160
*/
@@ -199,11 +199,11 @@ private function writeArray($file, array $value, $indentation)
199199
* @param resource $file The file handle to write to
200200
* @param array|\Traversable $value The value of the node
201201
* @param int $indentation The number of levels to indent
202-
* @param bool $fallback Whether the table should be merged
203-
* with the fallback locale.
202+
* @param bool $fallback whether the table should be merged
203+
* with the fallback locale
204204
*
205-
* @throws UnexpectedTypeException When $value is not an array and not a
206-
* \Traversable instance.
205+
* @throws UnexpectedTypeException when $value is not an array and not a
206+
* \Traversable instance
207207
*/
208208
private function writeTable($file, $value, $indentation, $fallback = true)
209209
{

DateFormatter/IntlDateFormatter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ public function __construct($locale, $datetype, $timetype, $timezone = null, $ca
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
171-
* One of the calendar constants.
170+
* @param int $calendar calendar to use for formatting or parsing; default is Gregorian
171+
* One of the calendar constants
172172
* @param string $pattern Optional pattern to use when formatting
173173
*
174174
* @return self
@@ -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
*

NumberFormatter/NumberFormatter.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class NumberFormatter
258258
* Constructor.
259259
*
260260
* @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
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
@@ -295,7 +295,7 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
295295
* Static constructor.
296296
*
297297
* @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
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
@@ -355,8 +355,8 @@ public function formatCurrency($value, $currency)
355355
/**
356356
* Format a number.
357357
*
358-
* @param int|float $value The value to format
359-
* @param int $type Type of the formatting, one of the format type constants
358+
* @param int|float $value the value to format
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
@@ -516,9 +516,9 @@ public function parseCurrency($value, &$currency, &$position = null)
516516
/**
517517
* Parse a number.
518518
*
519-
* @param string $value The value to parse
520-
* @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default
521-
* @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended
519+
* @param string $value the value to parse
520+
* @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default.
521+
* @param int $position offset to begin the parsing on return this value will hold the offset at which the parsing ended
522522
*
523523
* @return int|float|false The parsed value of false on error
524524
*
@@ -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
*

Resources/stubs/functions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function intl_is_failure($errorCode)
3535
*
3636
* @author Bernhard Schussek <bschussek@gmail.com>
3737
*
38-
* @return bool The error code of the last intl function call or
39-
* IntlGlobals::U_ZERO_ERROR if no error occurred.
38+
* @return bool the error code of the last intl function call or
39+
* IntlGlobals::U_ZERO_ERROR if no error occurred
4040
*
4141
* @see IntlGlobals::getErrorCode()
4242
*/
@@ -51,8 +51,8 @@ function intl_get_error_code()
5151
*
5252
* @author Bernhard Schussek <bschussek@gmail.com>
5353
*
54-
* @return bool The error message of the last intl function call or
55-
* "U_ZERO_ERROR" if no error occurred.
54+
* @return bool the error message of the last intl function call or
55+
* "U_ZERO_ERROR" if no error occurred
5656
*
5757
* @see IntlGlobals::getErrorMessage()
5858
*/

Util/IcuVersion.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ public static function compare($version1, $version2, $operator, $precision = nul
8484
* @param int|null $precision The number of components to include. Pass
8585
* NULL to return the version unchanged.
8686
*
87-
* @return string|null The normalized ICU version or NULL if it couldn't be
88-
* normalized.
87+
* @return string|null the normalized ICU version or NULL if it couldn't be
88+
* normalized
8989
*/
9090
public static function normalize($version, $precision)
9191
{

Util/SvnCommit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class SvnCommit
2626
/**
2727
* Creates a commit from the given "svn info" data.
2828
*
29-
* @param \SimpleXMLElement $svnInfo The XML result from the "svn info"
30-
* command.
29+
* @param \SimpleXMLElement $svnInfo the XML result from the "svn info"
30+
* command
3131
*/
3232
public function __construct(\SimpleXMLElement $svnInfo)
3333
{

Util/SvnRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class SvnRepository
4444
*
4545
* @return static
4646
*
47-
* @throws RuntimeException If an error occurs during the download.
47+
* @throws RuntimeException if an error occurs during the download
4848
*/
4949
public static function download($url, $targetDir)
5050
{
@@ -119,7 +119,7 @@ public function getLastCommit()
119119
*
120120
* @return \SimpleXMLElement The XML result from the "svn info" command
121121
*
122-
* @throws RuntimeException If the "svn info" command failed.
122+
* @throws RuntimeException if the "svn info" command failed
123123
*/
124124
private function getSvnInfo()
125125
{

Util/Version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public static function compare($version1, $version2, $operator, $precision = nul
6767
* @param int|null $precision The number of components to include. Pass
6868
* NULL to return the version unchanged.
6969
*
70-
* @return string|null The normalized version or NULL if it couldn't be
71-
* normalized.
70+
* @return string|null the normalized version or NULL if it couldn't be
71+
* normalized
7272
*/
7373
public static function normalize($version, $precision)
7474
{

0 commit comments

Comments
 (0)