Skip to content

Commit faf056e

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: fixed @return when returning this or static override property constraints in child class removed unneeded comment [Console] improved code coverage of Command class [FrameworkBundle] Make TemplateController working without the Templating component Only count on arrays or countables to avoid warnings in PHP 7.2
2 parents 8f9bed3 + 755e47e commit faf056e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MessageCatalogueInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function add($messages, $domain = 'messages');
105105
*
106106
* The two catalogues must have the same locale.
107107
*
108-
* @param MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance
108+
* @param self $catalogue
109109
*/
110110
public function addCatalogue(MessageCatalogueInterface $catalogue);
111111

@@ -115,14 +115,14 @@ public function addCatalogue(MessageCatalogueInterface $catalogue);
115115
*
116116
* This is used to provide default translations when they do not exist for the current locale.
117117
*
118-
* @param MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance
118+
* @param self $catalogue
119119
*/
120120
public function addFallbackCatalogue(MessageCatalogueInterface $catalogue);
121121

122122
/**
123123
* Gets the fallback catalogue.
124124
*
125-
* @return MessageCatalogueInterface|null A MessageCatalogueInterface instance or null when no fallback has been set
125+
* @return self|null A MessageCatalogueInterface instance or null when no fallback has been set
126126
*/
127127
public function getFallbackCatalogue();
128128

0 commit comments

Comments
 (0)