Error

PHP Warningyii\base\ErrorException

Declaration of app\controllers\NewsController::beforeAction() should be compatible with yii\web\Controller::beforeAction($action)

$_GET = [
    'alias' => 'kazhduyu-pyatnicu-v-restorane-fortecya-tanceval-naya-programma-ot-di-dzheya-mccolden',
];