svn: /phd/trunk/phpdotnet/phd/Package/IDE/ XML.php

From: Date: Sun, 05 Jun 2011 21:29:47 +0000
Subject: svn: /phd/trunk/phpdotnet/phd/Package/IDE/ XML.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8207@lists.php.net to get a copy of this message
moacir Sun, 05 Jun 2011 21:29:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311847 Log: removing whitespaces from the generated xml files Changed paths: U phd/trunk/phpdotnet/phd/Package/IDE/XML.php Modified: phd/trunk/phpdotnet/phd/Package/IDE/XML.php =================================================================== --- phd/trunk/phpdotnet/phd/Package/IDE/XML.php 2011-06-05 21:03:05 UTC (rev 311846) +++ phd/trunk/phpdotnet/phd/Package/IDE/XML.php 2011-06-05 21:29:47 UTC (rev 311847) @@ -27,11 +27,7 @@ if (isset($param['initializer'])) { $str .= ' <initializer>' . $param['initializer'] . '</initializer>' . PHP_EOL; } - $str .= ' <description>' . PHP_EOL; - if (isset($param['description'])) { - $str .= $this->e($param['description']) . PHP_EOL; - } - $str .= ' </description>' . PHP_EOL; + $str .= ' <description>' . (isset($param['description']) ? $this->e($param['description']) : '') . '</description>' . PHP_EOL; $str .= ' </param>' . PHP_EOL; } $str .= '</params>' . PHP_EOL; @@ -44,9 +40,7 @@ //Errors $str .= '<errors>' . PHP_EOL; - $str .= ' <description>' . PHP_EOL; - $str .= $this->e($this->function['errors']) . PHP_EOL; - $str .= ' </description>' . PHP_EOL; + $str .= ' <description>' . $this->e($this->function['errors']) . '</description>' . PHP_EOL; $str .= '</errors>' . PHP_EOL; //Notes

« previous php.doc.cvs (#8207) next »