Completed
Push — 4.0 ( 681568...42b686 )
by David
02:30
created
src/FileTranslator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	 * The file contain an array with translation, we retrieve it in a private array msg. 
137 137
 	 * 
138 138
 	 * @param string $language Language code
139
-	 * @return boolean
139
+	 * @return boolean|null
140 140
 	 */
141 141
 	private function retrieveMessages($language) {
142 142
 		$this->msg = array();
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -6,14 +6,7 @@
 block discarded – undo
6 6
  */
7 7
 namespace Mouf\Utils\I18n\Fine\Translator;
8 8
 
9
-use Mouf\Validator\MoufValidatorResult;
10
-
11
-use Mouf\Validator\MoufValidatorInterface;
12
-
13
-use Mouf\MoufManager;
14
-
15 9
 use Mouf\Utils\I18n\Fine\FineMessageLanguage;
16
-
17 10
 use Mouf\Utils\I18n\Fine\LanguageDetectionInterface;
18 11
 use Mouf\Utils\I18n\Fine\Common\Ui\EditTranslationHelperTrait;
19 12
 use Mouf\Utils\I18n\Fine\TranslatorInterface;
Please login to merge, or discard this patch.
src/MessageFileLanguage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	
79 79
 	/**
80 80
 	 * Set message for a key
81
-	 * @param $key string Message key
81
+	 * @param string $key string Message key
82 82
 	 * @param $message string Message
83 83
 	 */
84 84
 	public function setMessage($key, $message) {
@@ -113,6 +113,7 @@  discard block
 block discarded – undo
113 113
 	/**
114 114
 	 * Sets the message
115 115
 	 * @var $key Remove a message for key
116
+	 * @param string $key
116 117
 	 */
117 118
 	public function deleteMessage($key) {
118 119
 		if(isset($this->msg[$key])) {
Please login to merge, or discard this patch.