Test Failed
Push — master ( 85be57...06def7 )
by Russell
05:53
created
external-content/code/model/ExternalContentItem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.