mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #14201: yii\console\controllers\MessageController::extractMessagesFromTokens()
is now protected
This commit is contained in:

committed by
Alexander Makarov

parent
2b9f0006d5
commit
78ec17f13c
@ -6,6 +6,7 @@ Yii Framework 2 Change Log
|
||||
|
||||
- Bug #14248: `yii\console\controllers\MessageController` no longer outputs colorized filenames when console does not support text colorization (PowerGamer1)
|
||||
- Bug #14264: Fixed a bug where `yii\log\Logger::calculateTimings()` was not accepting messages with array tokens (bizley)
|
||||
- Chg #14201: `yii\console\controllers\MessageController::extractMessagesFromTokens()` is now protected (faenir)
|
||||
|
||||
|
||||
2.0.12 June 05, 2017
|
||||
|
@ -507,7 +507,7 @@ EOD;
|
||||
* @param array $ignoreCategories message categories to ignore.
|
||||
* @return array messages.
|
||||
*/
|
||||
private function extractMessagesFromTokens(array $tokens, array $translatorTokens, array $ignoreCategories)
|
||||
protected function extractMessagesFromTokens(array $tokens, array $translatorTokens, array $ignoreCategories)
|
||||
{
|
||||
$messages = [];
|
||||
$translatorTokensCount = count($translatorTokens);
|
||||
|
Reference in New Issue
Block a user