From a3bed80a3decb1083fc607cd7d5ca82a652c151d Mon Sep 17 00:00:00 2001 From: Jeff Welch Date: Thu, 7 Feb 2013 00:53:30 -0500 Subject: [PATCH] Formatting --- src/PHP_Exporter/Diff.php | 6 +++--- src/PHP_Exporter/Exporter.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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; }