Completed
Push — master ( b6477c...435868 )
by Thiago Augustus de
02:07
created
NoXMLSpace.class.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 	 * </code>
24 24
 	 *
25 25
 	 * @param xml
26
+	 * @param SimpleXMLElement $xml
26 27
 	 * @return xml
27 28
 	 * @access public
28 29
 	 */
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
 	public static function noSpace($xml = null)
30 30
 	{
31 31
 
32
-		if (empty($xml) || is_null($xml)) return false;
32
+		if (empty($xml) || is_null($xml)) {
33
+			return false;
34
+		}
33 35
 
34 36
 		foreach ($xml as $key => $value) {
35 37
 			if (sizeof($value) > 1) {
Please login to merge, or discard this patch.