Showing 223 of 419 total issues
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 Json::encode($data);
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 $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 Json::encode($data);
Avoid too many return
statements within this method. Open
Open
return false;
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->redirect(['members/view', 'id' => $model->id, 'slug' => $model->podiumSlug]);
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 $this->render('deletepost', ['model' => $post]);
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->render('report', ['model' => $model, 'post' => $post]);
Avoid too many return
statements within this method. Open
Open
return true;
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->render('moveposts', [
'model' => $thread,
'list' => $list,
'options' => $options,
'listforum' => $listforum,
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']
);
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(['admin/members']);
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']
);