Skip to content

Commit

Permalink
Cosmetic Code Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenscerri committed Aug 1, 2012
1 parent 58a4dd1 commit 4be02aa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Mindrill.class.php
Expand Up @@ -70,13 +70,8 @@ public function call($url='/users/ping', $params=array())
curl_close($ch);
$decoded = json_decode($result);

if (is_null($decoded))
{
return $result;
} else
{
return $decoded;
}
return is_null($decoded) ? $result : $decoded;

}

/**
Expand Down

0 comments on commit 4be02aa

Please sign in to comment.