Completed
Push — master ( 24867a...fc315f )
by Matthew
03:31
created
Category
src/IconScraper/Scraper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,19 +168,19 @@
 block discarded – undo
168 168
 
169 169
                     $type = false;
170 170
 
171
-                    switch(strtolower($attribute)) {
171
+                    switch (strtolower($attribute)) {
172 172
                         case Icon::APPLE_TOUCH:
173 173
                             $type = Icon::APPLE_TOUCH;
174 174
                             $size = !is_array($size) ? explode('x', $size) : $size;
175 175
                             break;
176 176
                         default:
177
-                            if(strpos($link->getAttribute('href'), 'icon') !== FALSE) {
177
+                            if (strpos($link->getAttribute('href'), 'icon') !== FALSE) {
178 178
                                 $type = Icon::FAVICON;
179 179
                                 $size = [];
180 180
                             }
181 181
                     };
182 182
 
183
-                    if(!empty($type) && filter_var($href, FILTER_VALIDATE_URL)) {
183
+                    if (!empty($type) && filter_var($href, FILTER_VALIDATE_URL)) {
184 184
                         $icons[] = new Icon($type, $href, $size);
185 185
                     }
186 186
                 }
Please login to merge, or discard this patch.