Code Duplication    Length = 3-3 lines in 2 locations

src/Elphin/IcoFileLoader/GdRenderer.php 1 location

@@ 264-266 (lines=3) @@
261
                    imagesetpixel($gd, $j, $i, $palette[$highNibble]);
262
                }
263
264
                if ($maskBits[$maskoffset++] == 0) {
265
                    imagesetpixel($gd, $j + 1, $i, $palette[$lowNibble]);
266
                }
267
                $offset++;
268
            }
269
        }

src/Elphin/IcoFileLoader/Ico.php 1 location

@@ 496-498 (lines=3) @@
493
                    imagesetpixel($im, $j, $i, $palette[$highNibble]);
494
                }
495
496
                if ($maskBits[$maskoffset++] == 0) {
497
                    imagesetpixel($im, $j + 1, $i, $palette[$lowNibble]);
498
                }
499
                $offset++;
500
            }
501
        }