Skip to content

Commit

Permalink
Merge pull request #12 from newfold-labs/fix/php-notice
Browse files Browse the repository at this point in the history
fixes a php notice in 8.2
  • Loading branch information
circlecube authored Apr 22, 2024
2 parents 312caf3 + dc297cf commit 9c45ae7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions includes/DeactivationSurvey.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
*/
class DeactivationSurvey {

// public $container;
public $strings;

/**
* DeactivationSurvey constructor.
*/
public function __construct() {
// $this->container = $container;
// $this->container = container();

$defaults = array(
'surveyAriaTitle' => __( 'Plugin Deactivation Survey', 'wp-module-deactivation' ),
Expand Down Expand Up @@ -80,8 +83,8 @@ public function __construct() {

// Merge defaults with container values from plugin
// $this->strings = wp_parse_args(
// $container->has( 'deactivation' ) ?
// $container['deactivation'] :
// $this->container->has( 'deactivation' ) ?
// $this->container['deactivation'] :
// array(),
// $defaults
// );
Expand Down

0 comments on commit 9c45ae7

Please sign in to comment.