Skip to content

Commit 99a1f6d

Browse files
Remove useless docblocks
1 parent ce402fa commit 99a1f6d

File tree

8 files changed

+13
-22
lines changed

8 files changed

+13
-22
lines changed

Dumper/CsvFileDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function format(MessageCatalogue $messages, $domain = 'messages')
4444
/**
4545
* Sets the delimiter and escape character for CSV.
4646
*
47-
* @param string $delimiter delimiter character
48-
* @param string $enclosure enclosure character
47+
* @param string $delimiter Delimiter character
48+
* @param string $enclosure Enclosure character
4949
*/
5050
public function setCsvControl($delimiter = ';', $enclosure = '"')
5151
{

Extractor/AbstractFileExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
abstract class AbstractFileExtractor
2020
{
2121
/**
22-
* @param string|array $resource files, a file or a directory
22+
* @param string|array $resource Files, a file or a directory
2323
*
2424
* @return array
2525
*/
@@ -75,7 +75,7 @@ protected function isFile($file)
7575
abstract protected function canBeExtracted($file);
7676

7777
/**
78-
* @param string|array $resource files, a file or a directory
78+
* @param string|array $resource Files, a file or a directory
7979
*
8080
* @return array files to be extracted
8181
*/

Extractor/ExtractorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface ExtractorInterface
2424
/**
2525
* Extracts translation messages from files, a file or a directory to the catalogue.
2626
*
27-
* @param string|array $resource files, a file or a directory
27+
* @param string|array $resource Files, a file or a directory
2828
* @param MessageCatalogue $catalogue The catalogue
2929
*/
3030
public function extract($resource, MessageCatalogue $catalogue);

Loader/CsvFileLoader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public function load($resource, $locale, $domain = 'messages')
6868
/**
6969
* Sets the delimiter, enclosure, and escape character for CSV.
7070
*
71-
* @param string $delimiter delimiter character
72-
* @param string $enclosure enclosure character
73-
* @param string $escape escape character
71+
* @param string $delimiter Delimiter character
72+
* @param string $enclosure Enclosure character
73+
* @param string $escape Escape character
7474
*/
7575
public function setCsvControl($delimiter = ';', $enclosure = '"', $escape = '\\')
7676
{

Loader/IcuResFileLoader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ public function load($resource, $locale, $domain = 'messages')
7070
*
7171
* This function takes an array by reference and will modify it
7272
*
73-
* @param \ResourceBundle $rb the ResourceBundle that will be flattened
74-
* @param array $messages used internally for recursive calls
75-
* @param string $path current path being parsed, used internally for recursive calls
73+
* @param \ResourceBundle $rb The ResourceBundle that will be flattened
74+
* @param array $messages Used internally for recursive calls
75+
* @param string $path Current path being parsed, used internally for recursive calls
7676
*
7777
* @return array the flattened ResourceBundle
7878
*/

Loader/MoFileLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,17 @@ class MoFileLoader extends ArrayLoader
2323
/**
2424
* Magic used for validating the format of a MO file as well as
2525
* detecting if the machine used to create that file was little endian.
26-
*
27-
* @var float
2826
*/
2927
const MO_LITTLE_ENDIAN_MAGIC = 0x950412de;
3028

3129
/**
3230
* Magic used for validating the format of a MO file as well as
3331
* detecting if the machine used to create that file was big endian.
34-
*
35-
* @var float
3632
*/
3733
const MO_BIG_ENDIAN_MAGIC = 0xde120495;
3834

3935
/**
4036
* The size of the header of a MO file in bytes.
41-
*
42-
* @var int Number of bytes
4337
*/
4438
const MO_HEADER_SIZE = 28;
4539

LoggingTranslator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ class LoggingTranslator implements TranslatorInterface, TranslatorBagInterface
2323
*/
2424
private $translator;
2525

26-
/**
27-
* @var LoggerInterface
28-
*/
2926
private $logger;
3027

3128
/**

Tests/PluralizationRulesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public function failingLangcodes()
9191
/**
9292
* We validate only on the plural coverage. Thus the real rules is not tested.
9393
*
94-
* @param string $nplural plural expected
95-
* @param array $matrix containing langcodes and their plural index values
94+
* @param string $nplural Plural expected
95+
* @param array $matrix Containing langcodes and their plural index values
9696
* @param bool $expectSuccess
9797
*/
9898
protected function validateMatrix($nplural, $matrix, $expectSuccess = true)

0 commit comments

Comments
 (0)