Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Renames emptyResponse to bare (wrong commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Aug 23, 2016
1 parent 13ec675 commit d44a299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d44a299

Please sign in to comment.