@@ -29,7 +29,9 @@ |
||
| 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 ) { |
@@ -23,6 +23,7 @@ |
||
| 23 | 23 | * </code> |
| 24 | 24 | * |
| 25 | 25 | * @param xml |
| 26 | + * @param SimpleXMLElement $xml |
|
| 26 | 27 | * @return xml |
| 27 | 28 | * @access public |
| 28 | 29 | */ |