Fix incorrect type hints (#115) [skip ci]

This commit is contained in:
Nikolay Oleynikov 2017-04-11 15:47:45 +03:00 committed by Alexander Makarov
parent 4f8ae448fe
commit 2ac711fa20

View File

@ -5,6 +5,7 @@ namespace app\controllers;
use Yii; use Yii;
use yii\filters\AccessControl; use yii\filters\AccessControl;
use yii\web\Controller; use yii\web\Controller;
use yii\web\Response;
use yii\filters\VerbFilter; use yii\filters\VerbFilter;
use app\models\LoginForm; use app\models\LoginForm;
use app\models\ContactForm; use app\models\ContactForm;
@ -66,7 +67,7 @@ class SiteController extends Controller
/** /**
* Login action. * Login action.
* *
* @return string * @return Response|string
*/ */
public function actionLogin() public function actionLogin()
{ {
@ -86,7 +87,7 @@ class SiteController extends Controller
/** /**
* Logout action. * Logout action.
* *
* @return string * @return Response
*/ */
public function actionLogout() public function actionLogout()
{ {
@ -98,7 +99,7 @@ class SiteController extends Controller
/** /**
* Displays contact page. * Displays contact page.
* *
* @return string * @return Response|string
*/ */
public function actionContact() public function actionContact()
{ {