diff --git a/src/PHP_Exporter/Diff.php b/src/PHP_Exporter/Diff.php index ff1792a..24a589b 100644 --- a/src/PHP_Exporter/Diff.php +++ b/src/PHP_Exporter/Diff.php @@ -89,7 +89,7 @@ class Diff $this->from = $from; $this->to = $to; - if($header) { + if ($header) { $this->header = $header; } } @@ -112,7 +112,7 @@ class Diff */ public function diff() { - if($this->from === $this->to) { + if ($this->from === $this->to) { return ''; } @@ -193,7 +193,7 @@ class Diff */ public function toArray() { - if($this->from === $this->to) { + if ($this->from === $this->to) { return array(); } diff --git a/src/PHP_Exporter/Exporter.php b/src/PHP_Exporter/Exporter.php index abbf82d..a1dcfe7 100644 --- a/src/PHP_Exporter/Exporter.php +++ b/src/PHP_Exporter/Exporter.php @@ -239,7 +239,7 @@ class Exporter return str_replace("\n", '\n', $string); } - if(is_object($this->value)) { + if (is_object($this->value)) { return sprintf( '%s Object (%s)', get_class($this->value), @@ -277,7 +277,7 @@ class Exporter */ public function toArray() { - if(!is_object($this->value)) { + if (!is_object($this->value)) { return (array)$this->value; }