mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-21 22:47:17 +01:00
Added missing phpdoc
This commit is contained in:
@@ -640,6 +640,7 @@ EOD;
|
||||
* @param boolean $sort if translations should be sorted
|
||||
* @param string $category message category
|
||||
* @param boolean $markUnused if obsolete translations should be marked
|
||||
* @return int exit code
|
||||
*/
|
||||
protected function saveMessagesCategoryToPHP($messages, $fileName, $overwrite, $removeUnused, $sort, $category, $markUnused)
|
||||
{
|
||||
@@ -650,7 +651,7 @@ EOD;
|
||||
ksort($existingMessages);
|
||||
if (array_keys($existingMessages) === $messages && (!$sort || array_keys($rawExistingMessages) === $messages)) {
|
||||
$this->stdout("Nothing new in \"$category\" category... Nothing to save.\n\n", Console::FG_GREEN);
|
||||
return;
|
||||
return self::EXIT_CODE_NORMAL;
|
||||
}
|
||||
unset($rawExistingMessages);
|
||||
$merged = [];
|
||||
|
||||
Reference in New Issue
Block a user