Fixes #3793: Changed inline autocomplete hints style to get more IDEs support

This commit is contained in:
Alexander Makarov
2014-06-20 16:11:45 +04:00
parent 0ab4da031e
commit 0c14f47f9a
186 changed files with 641 additions and 818 deletions

View File

@ -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.');