Skip to content

Commit

Permalink
Merge pull request #69 from stellarwp/bugfix/php-warning-dynamic-prop…
Browse files Browse the repository at this point in the history
…erty-filesystem

Bugfix: Creation of dynamic property warning in PHP 8.2
  • Loading branch information
tarecord authored Aug 27, 2024
2 parents 5581a9a + 9219e6e commit 704c755
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Uplink/Admin/Package_Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use StellarWP\Uplink\Resources;
use WP_Error;
use WP_Upgrader;
use WP_Filesystem_Base;

class Package_Handler {

Expand All @@ -15,6 +16,11 @@ class Package_Handler {
*/
public $upgrader;

/**
* @var WP_Filesystem_Base|null
*/
public $filesystem;

/**
* Filters the package download step to store the downloaded file with a shorter file name.
*
Expand Down

0 comments on commit 704c755

Please sign in to comment.