@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * @param string $email the target email address |
| 114 | 114 | * @param Model $model |
| 115 | 115 | * |
| 116 | - * @return bool whether the model passes validation |
|
| 116 | + * @return boolean|null whether the model passes validation |
|
| 117 | 117 | **/ |
| 118 | 118 | public function sendContact(string $email, Model $model) |
| 119 | 119 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use yii\filters\AccessControl; |
| 8 | 8 | use yii\filters\VerbFilter; |
| 9 | 9 | use yii\web\Controller; |
| 10 | -use yii\web\Response; |
|
| 11 | 10 | |
| 12 | 11 | class SiteController extends Controller |
| 13 | 12 | { |