@@ -36,13 +36,13 @@ discard block |
||
| 36 | 36 | 'params' => array() |
| 37 | 37 | ); |
| 38 | 38 | |
| 39 | - $navigator = $context->getNavigator(); |
|
| 39 | + $navigator = $context->getNavigator (); |
|
| 40 | 40 | $ret = array(); |
| 41 | 41 | foreach ($object as $v) { |
| 42 | - $ret[] = $navigator->accept($v, $newType, $context)->data; |
|
| 42 | + $ret[] = $navigator->accept ($v, $newType, $context)->data; |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - return $visitor->getDocument()->createTextNode(implode(" ", $ret)); |
|
| 45 | + return $visitor->getDocument ()->createTextNode (implode (" ", $ret)); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | public function simpleListOfFromXml(XmlDeserializationVisitor $visitor, $node, array $type, Context $context) |
@@ -52,9 +52,9 @@ discard block |
||
| 52 | 52 | 'params' => array() |
| 53 | 53 | ); |
| 54 | 54 | $ret = array(); |
| 55 | - $navigator = $context->getNavigator(); |
|
| 56 | - foreach (explode(" ", (string)$node) as $v) { |
|
| 57 | - $ret[] = $navigator->accept($v, $newType, $context); |
|
| 55 | + $navigator = $context->getNavigator (); |
|
| 56 | + foreach (explode (" ", (string) $node) as $v) { |
|
| 57 | + $ret[] = $navigator->accept ($v, $newType, $context); |
|
| 58 | 58 | } |
| 59 | 59 | return $ret; |
| 60 | 60 | } |