Skip to content

Commit abf805c

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents 3293271 + ce402fa commit abf805c

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
@@ -24,19 +24,8 @@
2424
*/
2525
abstract class AbstractOperation implements OperationInterface
2626
{
27-
/**
28-
* @var MessageCatalogueInterface The source catalogue
29-
*/
3027
protected $source;
31-
32-
/**
33-
* @var MessageCatalogueInterface The target catalogue
34-
*/
3528
protected $target;
36-
37-
/**
38-
* @var MessageCatalogue The result catalogue
39-
*/
4029
protected $result;
4130

4231
/**
@@ -69,9 +58,6 @@ abstract class AbstractOperation implements OperationInterface
6958
protected $messages;
7059

7160
/**
72-
* @param MessageCatalogueInterface $source The source catalogue
73-
* @param MessageCatalogueInterface $target The target catalogue
74-
*
7561
* @throws \LogicException
7662
*/
7763
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
@@ -123,9 +123,6 @@ protected function loadResource($resource)
123123
*
124124
* A .po file could contain by error missing plural indexes. We need to
125125
* fix these before saving them.
126-
*
127-
* @param array $messages
128-
* @param array $item
129126
*/
130127
private function addMessage(array &$messages, array $item)
131128
{

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)