mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
This commit is contained in:
@ -52,7 +52,7 @@ class CacheController extends Controller
|
||||
*/
|
||||
public function actionFlush($component = 'cache')
|
||||
{
|
||||
/** @var Cache $cache */
|
||||
/* @var $cache Cache */
|
||||
$cache = Yii::$app->get($component, false);
|
||||
if (!$cache || !$cache instanceof Cache) {
|
||||
throw new Exception('Application component "'.$component.'" is not defined or not a cache.');
|
||||
|
||||
Reference in New Issue
Block a user