diff --git a/framework/yii/web/ResponseFormatter.php b/framework/yii/web/ResponseFormatter.php index 0e9af472ad..d36b8f00de 100644 --- a/framework/yii/web/ResponseFormatter.php +++ b/framework/yii/web/ResponseFormatter.php @@ -21,5 +21,5 @@ interface ResponseFormatter * @param mixed $data the data to be formatted * @return string the formatted result */ - function format($response, $data); + public function format($response, $data); }