Formatting

This commit is contained in:
Jeff Welch 2013-02-07 00:53:30 -05:00
parent f4e4284fc1
commit a3bed80a3d
2 changed files with 5 additions and 5 deletions

View File

@ -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();
}

View File

@ -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;
}