Showing 223 of 419 total issues
Avoid too many return
statements within this method. Open
Open
return $this->module->goPodium();
Avoid too many return
statements within this method. Open
Open
return $this->render('deletepoll', ['model' => $poll]);
Avoid too many return
statements within this method. Open
Open
return $this->render('editpoll', ['model' => $poll]);
Avoid too many return
statements within this method. Open
Open
return [
false,
Yii::t('podium/flash', 'The password reset link has been sent to your e-mail address.'),
true
];
Avoid too many return
statements within this method. Open
Open
return [
false,
Yii::t('podium/flash', 'The account activation link has been sent to your e-mail address.'),
true
];
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $this->redirect(['members/view', 'id' => $model->id, 'slug' => $model->podiumSlug]);
Avoid too many return
statements within this method. Open
Open
return Json::encode($data);
Avoid too many return
statements within this method. Open
Open
return $this->controller->redirect(['admin/members']);
Avoid too many return
statements within this method. Open
Open
return $this->render('edit', [
'preview' => $preview,
'model' => $post,
'isFirstPost' => $isFirstPost
]);
Avoid too many return
statements within this method. Open
Open
return Html::tag('span',
Html::tag('span', '', ['class' => 'glyphicon glyphicon-warning-sign'])
. ' ' . Yii::t('podium/view', "Sorry! We can not save new categories' order."),
['class' => 'text-danger']
);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $this->redirect(['forum/show', 'id' => $model->id]);
Avoid too many return
statements within this method. Open
Open
return $this->redirect([
'forum/thread',
'cid' => $post->forum->category->id,
'fid' => $post->forum->id,
'id' => $post->thread->id,
Avoid too many return
statements within this method. Open
Open
return $this->render('deleteposts', [
'model' => $thread,
'dataProvider' => (new Post())->search($thread->forum->id, $thread->id)
]);
Avoid too many return
statements within this method. Open
Open
return $this->render('report', ['model' => $model, 'post' => $post]);
Avoid too many return
statements within this method. Open
Open
return $this->redirect(['admin/members']);
Avoid too many return
statements within this method. Open
Open
return $this->render('deletepost', ['model' => $post]);
Avoid too many return
statements within this method. Open
Open
return $this->render('post', [
'replyFor' => $replyFor,
'preview' => $preview,
'model' => $model,
'thread' => $thread,
Avoid too many return
statements within this method. Open
Open
return Html::tag('span',
Html::tag('span', '', ['class' => 'glyphicon glyphicon-ok-circle'])
. ' ' . Yii::t('podium/view', "New categories' order has been saved."),
['class' => 'text-success']
);