Completed
Push — master ( a5847c...c75d22 )
by Andrii
02:34
created
src/console/DoController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,18 +96,18 @@  discard block
 block discarded – undo
96 96
             'lg' => 'height: 480px; width: 300px;',
97 97
         ];
98 98
 
99
-        $res = '.pi { display: inline-block;height: 38px;width: 60px; }' . PHP_EOL;
99
+        $res = '.pi { display: inline-block;height: 38px;width: 60px; }'.PHP_EOL;
100 100
 
101 101
         foreach (array_keys($sizes) as $size) {
102
-            $res .= ".pi.pi-$size { $sizes[$size] }" . PHP_EOL;
102
+            $res .= ".pi.pi-$size { $sizes[$size] }".PHP_EOL;
103 103
         }
104 104
 
105 105
         foreach (array_keys($sizes) as $size) {
106 106
             foreach ($this->getIconsList() as $name) {
107 107
                 if ($size === 'xs') {
108
-                    $res .= ".pi.pi-$size.pi-$name, .pi.pi-$name { background: url('../png/$size/$name.png') no-repeat right; }" . PHP_EOL;
108
+                    $res .= ".pi.pi-$size.pi-$name, .pi.pi-$name { background: url('../png/$size/$name.png') no-repeat right; }".PHP_EOL;
109 109
                 } else {
110
-                    $res .= ".pi.pi-$size.pi-$name { background: url('../png/$size/$name.png') no-repeat right; }" . PHP_EOL;
110
+                    $res .= ".pi.pi-$size.pi-$name { background: url('../png/$size/$name.png') no-repeat right; }".PHP_EOL;
111 111
                 }
112 112
             }
113 113
             $res .= PHP_EOL;
@@ -135,14 +135,14 @@  discard block
 block discarded – undo
135 135
             foreach ($this->getUniqueIconsList() as $name) {
136 136
                 $str .= "![$name](https://raw.githubusercontent.com/hiqdev/payment-icons/master/src/assets/png/$size/$name.png)\n";
137 137
             }
138
-            FileHelper::write('@hiqdev/paymenticons/../docs/Preview' . strtoupper($size) . '.md', $str);
138
+            FileHelper::write('@hiqdev/paymenticons/../docs/Preview'.strtoupper($size).'.md', $str);
139 139
             if ($size === 'xs') {
140 140
                 $ps = [];
141 141
                 foreach ($sizes as $s) {
142 142
                     $us = strtoupper($s);
143 143
                     $ps[] = "[$us](docs/Preview$us.md)";
144 144
                 }
145
-                $str .= "\n" . implode(' | ', $ps);
145
+                $str .= "\n".implode(' | ', $ps);
146 146
                 FileHelper::write('@hiqdev/paymenticons/../docs/readme/Preview.md', $str);
147 147
             }
148 148
         }
Please login to merge, or discard this patch.