Skip to content

Commit

Permalink
Ignore assignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Oct 2, 2024
1 parent 984ee09 commit 10f5e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions formwork/src/Images/Handler/WebpHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public function setColorProfile(ColorProfile $colorProfile): void
$VP8XFlags = ord($chunk['value'][0]) | self::ICC_FLAG;
$this->data = substr_replace($this->data, chr($VP8XFlags), $chunk['offset'] + 8, 1);
$ICCPChunk = $this->encodeChunk('ICCP', $colorProfile->getData());
// @phpstan-ignore assign.propertyType
$this->data = substr_replace($this->data, $ICCPChunk, $chunk['position'], 0);
$this->updateRIFFHeader();
break;
Expand Down

0 comments on commit 10f5e46

Please sign in to comment.