Skip to content

Commit ce402fa

Browse files
[DI] minor docblock fixes
1 parent 038ca65 commit ce402fa

File tree

7 files changed

+0
-42
lines changed

7 files changed

+0
-42
lines changed

Catalogue/AbstractOperation.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,8 @@
2121
*/
2222
abstract class AbstractOperation implements OperationInterface
2323
{
24-
/**
25-
* @var MessageCatalogueInterface
26-
*/
2724
protected $source;
28-
29-
/**
30-
* @var MessageCatalogueInterface
31-
*/
3225
protected $target;
33-
34-
/**
35-
* @var MessageCatalogue
36-
*/
3726
protected $result;
3827

3928
/**
@@ -47,9 +36,6 @@ abstract class AbstractOperation implements OperationInterface
4736
protected $messages;
4837

4938
/**
50-
* @param MessageCatalogueInterface $source
51-
* @param MessageCatalogueInterface $target
52-
*
5339
* @throws \LogicException
5440
*/
5541
public function __construct(MessageCatalogueInterface $source, MessageCatalogueInterface $target)

DataCollector/TranslationDataCollector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@
2222
*/
2323
class TranslationDataCollector extends DataCollector implements LateDataCollectorInterface
2424
{
25-
/**
26-
* @var DataCollectorTranslator
27-
*/
2825
private $translator;
2926

30-
/**
31-
* @param DataCollectorTranslator $translator
32-
*/
3327
public function __construct(DataCollectorTranslator $translator)
3428
{
3529
$this->translator = $translator;

DataCollectorTranslator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInter
2525
*/
2626
private $translator;
2727

28-
/**
29-
* @var array
30-
*/
3128
private $messages = array();
3229

3330
/**

Loader/PoFileLoader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@ private function parse($resource)
160160
*
161161
* A .po file could contain by error missing plural indexes. We need to
162162
* fix these before saving them.
163-
*
164-
* @param array $messages
165-
* @param array $item
166163
*/
167164
private function addMessage(array &$messages, array $item)
168165
{

MessageCatalogueInterface.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ public function add($messages, $domain = 'messages');
104104
* Merges translations from the given Catalogue into the current one.
105105
*
106106
* The two catalogues must have the same locale.
107-
*
108-
* @param self $catalogue
109107
*/
110108
public function addCatalogue(MessageCatalogueInterface $catalogue);
111109

@@ -114,8 +112,6 @@ public function addCatalogue(MessageCatalogueInterface $catalogue);
114112
* only when the translation does not exist.
115113
*
116114
* This is used to provide default translations when they do not exist for the current locale.
117-
*
118-
* @param self $catalogue
119115
*/
120116
public function addFallbackCatalogue(MessageCatalogueInterface $catalogue);
121117

@@ -135,8 +131,6 @@ public function getResources();
135131

136132
/**
137133
* Adds a resource for this collection.
138-
*
139-
* @param ResourceInterface $resource A resource instance
140134
*/
141135
public function addResource(ResourceInterface $resource);
142136
}

Translator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ public function __construct($locale, MessageSelector $selector = null, $cacheDir
8383
$this->debug = $debug;
8484
}
8585

86-
/**
87-
* Sets the ConfigCache factory to use.
88-
*
89-
* @param ConfigCacheFactoryInterface $configCacheFactory
90-
*/
9186
public function setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory)
9287
{
9388
$this->configCacheFactory = $configCacheFactory;

Writer/TranslationWriter.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121
*/
2222
class TranslationWriter
2323
{
24-
/**
25-
* Dumpers used for export.
26-
*
27-
* @var array
28-
*/
2924
private $dumpers = array();
3025

3126
/**

0 commit comments

Comments
 (0)