Skip to content

Commit

Permalink
Fixes yiisoft#14201: `yii\console\controllers\MessageController::extr…
Browse files Browse the repository at this point in the history
…actMessagesFromTokens()` is now protected
  • Loading branch information
faenir authored and samdark committed Jun 9, 2017
1 parent 2b9f000 commit 78ec17f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion framework/console/controllers/MessageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ protected function extractMessages($fileName, $translator, $ignoreCategories = [
* @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);
Expand Down

0 comments on commit 78ec17f

Please sign in to comment.