diff --git a/Response.php b/Response.php index a447bc5..931b7d3 100644 --- a/Response.php +++ b/Response.php @@ -98,7 +98,7 @@ public static function getFacadeComponentId() * * @return \yii\web\Response the response object itself. */ - public static function emptyResponse($statusCode = 204, array $headers = []) + public static function bare($statusCode = 204, array $headers = []) { $response = static::sendFormat(\yii\web\Response::FORMAT_RAW, null, $headers); $response->setStatusCode($statusCode);