Skip to content

Commit

Permalink
Added explicit properties to remove deprecation warnings in PHP 8.2 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmester committed Oct 30, 2022
1 parent 2fb4bc6 commit cabb7a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Canvas/Rasterization/SuperSampleBuffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ class SuperSampleBuffer
const IDX_G = 3;
const IDX_B = 4;

private $samples;
private $samplesPerPixel;

private $pixelOffset;
private $subPixelOffset;

private $width;
private $used;

/**
* Creates a color buffer keeping an average color out of several
* color samples per pixel.
Expand Down

0 comments on commit cabb7a4

Please sign in to comment.