Added missing phpdoc

This commit is contained in:
Alexander Makarov
2016-07-30 00:02:51 +03:00
parent 33a45b196c
commit 9b1b4fc5fa
4 changed files with 8 additions and 1 deletions

View File

@@ -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 = [];