auto format.

This commit is contained in:
luke.rodham
2016-02-17 08:55:57 +00:00
parent 8de9ed3d90
commit 4b3912a8f9
5 changed files with 15 additions and 8 deletions
+6 -4
View File
@@ -1,4 +1,6 @@
<?php namespace LukeRodham\TrustPilot;
<?php
namespace LukeRodham\TrustPilot;
use GuzzleHttp\Client;
use LukeRodham\TrustPilot\Exceptions\InvalidApiCredentialsException;
@@ -40,9 +42,9 @@ class ApiWrapper
*/
public function __construct($apiKey, $businessUnitId = '', $email = '', $password = '')
{
$this->apiKey = $apiKey;
$this->email = $email;
$this->password = $password;
$this->apiKey = $apiKey;
$this->email = $email;
$this->password = $password;
$this->businessUnitId = $businessUnitId;
$this->client = new Client(['base_uri' => $this->baseUri]);
@@ -1,4 +1,6 @@
<?php namespace LukeRodham\TrustPilot\Exceptions;
<?php
namespace LukeRodham\TrustPilot\Exceptions;
use Exception;
+3 -1
View File
@@ -1,4 +1,6 @@
<?php namespace LukeRodham\TrustPilot\Sections;
<?php
namespace LukeRodham\TrustPilot\Sections;
use LukeRodham\TrustPilot\ApiWrapper;
use LukeRodham\TrustPilot\Transformers\ReviewTransformer;
-1
View File
@@ -115,7 +115,6 @@ class ReviewTransformer
$transformedData = [];
foreach ($reviews['reviews'] as $review) {
$transformedData[] = $this->transform($review);
}
+3 -1
View File
@@ -1,4 +1,6 @@
<?php namespace LukeRodham\TrustPilot;
<?php
namespace LukeRodham\TrustPilot;
use LukeRodham\TrustPilot\Sections\Reviews;