Completed
Push — master ( e814e0...e87053 )
by Mārtiņš
01:53
created
src/Structures/ArtworkItem.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,19 +88,19 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Structures/ArtworkFileItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     static function fromArray($raw)
42 42
     {
43
-        if(!$raw){
43
+        if (!$raw) {
44 44
             return null;
45 45
         }
46 46
 
Please login to merge, or discard this patch.