@@ -51,12 +51,12 @@ |
||
51 | 51 | private $description; |
52 | 52 | private $direction; |
53 | 53 | private $display; |
54 | - private $icons = [ ]; |
|
54 | + private $icons = []; |
|
55 | 55 | private $language; |
56 | 56 | private $name; |
57 | 57 | private $orientation; |
58 | 58 | private $scope; |
59 | - private $screenshots = [ ]; |
|
59 | + private $screenshots = []; |
|
60 | 60 | private $shortName; |
61 | 61 | private $startUrl; |
62 | 62 | private $themeColor; |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function get(AppConfiguration $configuration) |
34 | 34 | { |
35 | - $manifest = [ ]; |
|
35 | + $manifest = []; |
|
36 | 36 | |
37 | 37 | if (($backgroundColor = $configuration->getBackgroundColor()) !== null) { |
38 | 38 | $manifest["background_color"] = $backgroundColor; |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | if (count($icons = $configuration->getIcons()) > 0) { |
54 | - $manifest["icons"] = [ ]; |
|
54 | + $manifest["icons"] = []; |
|
55 | 55 | |
56 | 56 | foreach ($icons as $icon) { |
57 | 57 | $manifest["icons"][] = $this->getImageData($icon); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | if (count($screenshots = $configuration->getScreenshots()) > 0) { |
78 | - $manifest["screenshots"] = [ ]; |
|
78 | + $manifest["screenshots"] = []; |
|
79 | 79 | |
80 | 80 | foreach ($screenshots as $screenshot) { |
81 | 81 | $manifest["screenshots"][] = $this->getImageData($screenshot); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $data["sizes"] = implode( |
120 | 120 | " ", |
121 | 121 | array_map( |
122 | - function (array $size) { |
|
122 | + function(array $size) { |
|
123 | 123 | return "{$size[0]}x{$size[1]}"; |
124 | 124 | }, |
125 | 125 | $sizes |