@@ -88,19 +88,19 @@ |
||
| 88 | 88 | |
| 89 | 89 | $item->artworkId = $raw['artworkId']; |
| 90 | 90 | $item->name = $raw['name']; |
| 91 | - $item->isPublic = (bool)$raw['isPublic']; |
|
| 92 | - $item->isProcessing = (bool)$raw['isProcessing']; |
|
| 91 | + $item->isPublic = (bool) $raw['isPublic']; |
|
| 92 | + $item->isProcessing = (bool) $raw['isProcessing']; |
|
| 93 | 93 | $item->description = $raw['description']; |
| 94 | 94 | $item->url = $raw['url']; |
| 95 | - $item->keywords= $raw['keywords']; |
|
| 95 | + $item->keywords = $raw['keywords']; |
|
| 96 | 96 | |
| 97 | 97 | $item->mainArtworkFile = ArtworkFileItem::fromArray($raw['mainArtworkFile']); |
| 98 | 98 | |
| 99 | - $item->artworkFiles = array_map(function ($v) { |
|
| 99 | + $item->artworkFiles = array_map(function($v) { |
|
| 100 | 100 | return ArtworkFileItem::fromArray($v); |
| 101 | 101 | }, $raw['artworkFiles']); |
| 102 | 102 | |
| 103 | - $item->artworkProducts = array_map(function ($v) { |
|
| 103 | + $item->artworkProducts = array_map(function($v) { |
|
| 104 | 104 | return ArtworkProductItem::fromArray($v); |
| 105 | 105 | }, $raw['artworkProducts']); |
| 106 | 106 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | static function fromArray($raw) |
| 42 | 42 | { |
| 43 | - if(!$raw){ |
|
| 43 | + if (!$raw) { |
|
| 44 | 44 | return null; |
| 45 | 45 | } |
| 46 | 46 | |