@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | * |
202 | 202 | * @return ExternalContentImporter |
203 | 203 | */ |
204 | - public function getContentImporter($target=null) |
|
204 | + public function getContentImporter($target = null) |
|
205 | 205 | { |
206 | 206 | return $this->source->getContentImporter($target); |
207 | 207 | } |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | $fields->addFieldToTab('Root.Main', $field); |
317 | 317 | } |
318 | 318 | } else { |
319 | - $childValue = is_object($childValue) || is_array($childValue) ? json_encode($childValue) : (string) $childValue; |
|
319 | + $childValue = is_object($childValue) || is_array($childValue) ? json_encode($childValue) : (string) $childValue; |
|
320 | 320 | $field = ReadonlyField::create("{$childName}{$childValue}", $name . ':' . $childName, $childValue); |
321 | 321 | $fields->addFieldToTab('Root.Main', $field); |
322 | 322 | } |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | |
541 | 541 | $treeTitle = sprintf( |
542 | 542 | "<span class=\"jstree-pageicon\"></span><span class=\"item\">%s</span>", |
543 | - Convert::raw2xml(str_replace(array("\n","\r"), "", $title)) |
|
543 | + Convert::raw2xml(str_replace(array("\n", "\r"), "", $title)) |
|
544 | 544 | ); |
545 | 545 | return $treeTitle; |
546 | 546 | } |