| @@ -139,7 +139,7 @@ discard block | ||
| 139 | 139 |              if (strpos($path_parts[$i], ':') === false) { | 
| 140 | 140 | $node_ns = 'epp'; | 
| 141 | 141 | $node_name = $path_parts[$i]; | 
| 142 | - $path_parts[$i] = $node_ns . ':' . $node_name; | |
| 142 | + $path_parts[$i] = $node_ns.':'.$node_name; | |
| 143 | 143 |              } else { | 
| 144 | 144 |                  list($node_ns, $node_name) = explode(':', $path_parts[$i], 2); | 
| 145 | 145 | } | 
| @@ -150,7 +150,7 @@ discard block | ||
| 150 | 150 | // get next key | 
| 151 | 151 | $next_key = -1; | 
| 152 | 152 |                  foreach (array_keys($this->nodes) as $each) { | 
| 153 | -                    if (preg_match('/' . preg_quote($node_ns . ':' . $node_name, '/') . '\[(\d+)\]$/', $each, $matches)) { | |
| 153 | +                    if (preg_match('/'.preg_quote($node_ns.':'.$node_name, '/').'\[(\d+)\]$/', $each, $matches)) { | |
| 154 | 154 |                          if ($matches[1] > $next_key) { | 
| 155 | 155 | $next_key = (int) $matches[1]; | 
| 156 | 156 | } | 
| @@ -186,7 +186,7 @@ discard block | ||
| 186 | 186 |              if ($node_ns === 'epp') { | 
| 187 | 187 | $this->nodes[$node_path] = $this->createElementNS($node_xmlns, $node_name); | 
| 188 | 188 |              } else { | 
| 189 | - $this->nodes[$node_path] = $this->createElementNS($node_xmlns, $node_ns . ':' . $node_name); | |
| 189 | + $this->nodes[$node_path] = $this->createElementNS($node_xmlns, $node_ns.':'.$node_name); | |
| 190 | 190 | } | 
| 191 | 191 | |
| 192 | 192 | // set attribute | 
| @@ -225,15 +225,15 @@ discard block | ||
| 225 | 225 | } | 
| 226 | 226 | |
| 227 | 227 |          if (!empty($this->mapping) && !empty($this->command)) { | 
| 228 | - array_unshift($path_parts, $this->mapping . ':' . $this->command); | |
| 228 | + array_unshift($path_parts, $this->mapping.':'.$this->command); | |
| 229 | 229 | } | 
| 230 | 230 | |
| 231 | 231 |          if (!empty($this->command) && !$this->ignore_command) { | 
| 232 | - array_unshift($path_parts, 'epp:' . $this->command); | |
| 232 | + array_unshift($path_parts, 'epp:'.$this->command); | |
| 233 | 233 | } | 
| 234 | 234 | |
| 235 | 235 |          if (!empty($this->format)) { | 
| 236 | - array_unshift($path_parts, 'epp:' . $this->format); | |
| 236 | + array_unshift($path_parts, 'epp:'.$this->format); | |
| 237 | 237 | } | 
| 238 | 238 | |
| 239 | 239 | array_unshift($path_parts, 'epp:epp'); |