@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace PhraseanetSDK\Repository; |
13 | 13 | |
14 | -use PhraseanetSDK\EntityHydrator; |
|
15 | 14 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 15 | |
17 | 16 | class User extends AbstractRepository |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | { |
85 | 85 | $totalCalls = count($this->getCalls()); |
86 | 86 | |
87 | - if (! isset($this->data['cache_hits']) || $totalCalls == 0) { |
|
87 | + if (!isset($this->data['cache_hits']) || $totalCalls == 0) { |
|
88 | 88 | return 0; |
89 | 89 | } |
90 | 90 | |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | |
176 | 176 | $requestContent = null; |
177 | 177 | if ($request instanceof EntityEnclosingRequestInterface) { |
178 | - $requestContent = (string)$request->getBody(); |
|
178 | + $requestContent = (string) $request->getBody(); |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | $time = array( |
@@ -35,7 +35,7 @@ |
||
35 | 35 | private $repositories = array(); |
36 | 36 | |
37 | 37 | /** |
38 | - * @param APIGuzzleAdapter $v1Adapter |
|
38 | + * @param APIGuzzleAdapter $adapter |
|
39 | 39 | * @param LoggerInterface $logger |
40 | 40 | */ |
41 | 41 | public function __construct( |
@@ -129,7 +129,7 @@ |
||
129 | 129 | */ |
130 | 130 | public function getFacets() |
131 | 131 | { |
132 | - if (! isset($this->source->facets)) { |
|
132 | + if (!isset($this->source->facets)) { |
|
133 | 133 | $this->facets = new ArrayCollection(); |
134 | 134 | } |
135 | 135 |