mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
fixed indentation in Cache Controller
This commit is contained in:
@ -195,7 +195,7 @@ class CacheController extends Controller
|
|||||||
$this->stdout("The following cache components were NOT found:\n\n", Console::FG_RED);
|
$this->stdout("The following cache components were NOT found:\n\n", Console::FG_RED);
|
||||||
|
|
||||||
foreach ($cachesNames as $name) {
|
foreach ($cachesNames as $name) {
|
||||||
$this->stdout("\t * $name \n", Console::FG_GREEN);
|
$this->stdout("\t* $name \n", Console::FG_GREEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->stdout("\n");
|
$this->stdout("\n");
|
||||||
@ -232,7 +232,7 @@ class CacheController extends Controller
|
|||||||
$this->stdout("The following cache components will be flushed:\n\n", Console::FG_YELLOW);
|
$this->stdout("The following cache components will be flushed:\n\n", Console::FG_YELLOW);
|
||||||
|
|
||||||
foreach ($cachesNames as $name) {
|
foreach ($cachesNames as $name) {
|
||||||
$this->stdout("\t * $name \n", Console::FG_GREEN);
|
$this->stdout("\t* $name \n", Console::FG_GREEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->confirm("\nFlush above cache components?");
|
return $this->confirm("\nFlush above cache components?");
|
||||||
|
|||||||
Reference in New Issue
Block a user