ソースを参照

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