Completed
Push — master ( a4fc5a...37fa07 )
by Matthias
02:29
created
src/AppConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Generators/ManifestGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.