@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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( |
@@ -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 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | */ |
| 100 | 100 | public function getId() |
| 101 | 101 | { |
| 102 | - return $this->getDataboxId() . '_' . $this->getRecordId(); |
|
| 102 | + return $this->getDataboxId().'_'.$this->getRecordId(); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | */ |
| 211 | 211 | public function getThumbnail() |
| 212 | 212 | { |
| 213 | - if (! isset($this->source->thumbnail)) { |
|
| 213 | + if (!isset($this->source->thumbnail)) { |
|
| 214 | 214 | return null; |
| 215 | 215 | } |
| 216 | 216 | |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | */ |
| 245 | 245 | public function getTechnicalInformation() |
| 246 | 246 | { |
| 247 | - if (! isset($this->source->technical_informations)) { |
|
| 247 | + if (!isset($this->source->technical_informations)) { |
|
| 248 | 248 | $this->technicalInformation = new ArrayCollection(); |
| 249 | 249 | } |
| 250 | 250 | |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | */ |
| 261 | 261 | public function getSubdefs() |
| 262 | 262 | { |
| 263 | - if (! isset($this->source->subdefs)) { |
|
| 263 | + if (!isset($this->source->subdefs)) { |
|
| 264 | 264 | $this->subdefs = new ArrayCollection(); |
| 265 | 265 | } |
| 266 | 266 | |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | */ |
| 273 | 273 | public function getStatus() |
| 274 | 274 | { |
| 275 | - if (! isset($this->source->status)) { |
|
| 275 | + if (!isset($this->source->status)) { |
|
| 276 | 276 | $this->status = new ArrayCollection(); |
| 277 | 277 | } |
| 278 | 278 | |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | */ |
| 285 | 285 | public function getCaption() |
| 286 | 286 | { |
| 287 | - if (! isset($this->source->caption)) { |
|
| 287 | + if (!isset($this->source->caption)) { |
|
| 288 | 288 | $this->caption = new ArrayCollection(); |
| 289 | 289 | } |
| 290 | 290 | |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | */ |
| 297 | 297 | public function getMetadata() |
| 298 | 298 | { |
| 299 | - if (! isset($this->source->metadata)) { |
|
| 299 | + if (!isset($this->source->metadata)) { |
|
| 300 | 300 | $this->metadata = new ArrayCollection(); |
| 301 | 301 | } |
| 302 | 302 | |