浏览代码

CS in RssView, missing throws

Bryan Crowe 12 年之前
父节点
当前提交
f95407837d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      View/RssView.php

+ 1 - 0
View/RssView.php

@@ -172,6 +172,7 @@ class RssView extends View {
 	 *
 	 * @param array $serialize The viewVars that need to be serialized.
 	 * @return string The serialized data
+	 * @throws RuntimeException When the prefix is not specified
 	 */
 	protected function _serialize($serialize) {
 		$rootNode = isset($this->viewVars['_rootNode']) ? $this->viewVars['_rootNode'] : 'channel';