diff --git a/framework/yii/web/ResponseFormatter.php b/framework/yii/web/ResponseFormatter.php index 0e9af47..d36b8f0 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); }