| @@ -330,19 +330,19 @@ | ||
| 330 | 330 | $json->extractionRule = $this->extractionRule; | 
| 331 | 331 | } | 
| 332 | 332 | |
| 333 | - $json->audience = (bool) $this->audience; | |
| 333 | + $json->audience = (bool)$this->audience; | |
| 334 | 334 | $json->audienceBySources = $this->audienceBySources; | 
| 335 | 335 | $json->audienceByUserIdentityType = $this->audienceByUserIdentityType; | 
| 336 | - $json->isExtended = (bool) $this->isExtended; | |
| 336 | + $json->isExtended = (bool)$this->isExtended; | |
| 337 | 337 | |
| 338 | 338 | // might not be set in JSON | 
| 339 | 339 |          if ($this->extensionThreshold !== null) { | 
| 340 | 340 | $json->extensionThreshold = (bool)$this->extensionThreshold; | 
| 341 | 341 | } | 
| 342 | 342 | |
| 343 | - $json->frequency = (int) $this->frequency; | |
| 344 | - $json->isCrossDevice = (bool) $this->isCrossDevice; | |
| 345 | - $json->hasDataUsagePermissions = (bool) $this->hasDataUsagePermissions; | |
| 343 | + $json->frequency = (int)$this->frequency; | |
| 344 | + $json->isCrossDevice = (bool)$this->isCrossDevice; | |
| 345 | + $json->hasDataUsagePermissions = (bool)$this->hasDataUsagePermissions; | |
| 346 | 346 | |
| 347 | 347 | // might not be set for a new segment | 
| 348 | 348 |          if ($this->createdAt !== null) { | 
| @@ -55,7 +55,7 @@ | ||
| 55 | 55 | $obj = new stdClass(); | 
| 56 | 56 | |
| 57 | 57 | $obj->segmentId = $this->segmentId; | 
| 58 | -        $obj->date = $this->date ? $this->date->format('c'): null; | |
| 58 | +        $obj->date = $this->date ? $this->date->format('c') : null; | |
| 59 | 59 | $obj->total = $this->total; | 
| 60 | 60 | |
| 61 | 61 | return $obj; |