Commit cb96af76 by Oleg Belostotskiy

Remove extra import and fix comment

parent d4711c46
...@@ -11,7 +11,6 @@ use Yii; ...@@ -11,7 +11,6 @@ use Yii;
use yii\base\ActionEvent; use yii\base\ActionEvent;
use yii\base\Behavior; use yii\base\Behavior;
use yii\web\Controller; use yii\web\Controller;
use yii\web\HttpException;
use yii\web\MethodNotAllowedHttpException; use yii\web\MethodNotAllowedHttpException;
/** /**
...@@ -83,7 +82,7 @@ class VerbFilter extends Behavior ...@@ -83,7 +82,7 @@ class VerbFilter extends Behavior
/** /**
* @param ActionEvent $event * @param ActionEvent $event
* @return boolean * @return boolean
* @throws HttpException when the request method is not allowed. * @throws MethodNotAllowedHttpException when the request method is not allowed.
*/ */
public function beforeAction($event) public function beforeAction($event)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment