Skip to content

Commit

Permalink
Fix Creation of dynamic property warning in PHP 8.2 for SnappyImage (
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnywilliamson authored Jan 5, 2024
1 parent 11ca2aa commit 137c814
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/IlluminateSnappyImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
use Illuminate\Filesystem\Filesystem;

class IlluminateSnappyImage extends Image {
/**
* @var \Illuminate\Filesystem\Filesystem
*/
protected $fs;

/**
* @param \Illuminate\Filesystem\Filesystem
Expand Down
9 changes: 9 additions & 0 deletions src/ImageWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ class ImageWrapper {
*/
protected $options = array();

/**
* @var string
*/
protected $html;

/**
* @var string
*/
protected $file;

/**
* @param \Knp\Snappy\Image $snappy
Expand Down

0 comments on commit 137c814

Please sign in to comment.