Skip to content

Commit

Permalink
compataibility for php 8.2 to stop error Deprecated: Creation of dyna…
Browse files Browse the repository at this point in the history
…mic property $contextSwitch = $this->_helper->getHelper('contextSwitch');

		$contextSwitch->addActionContext('ajax-attribute-checker', 'json')->initContext('json');
  • Loading branch information
pcmad committed Sep 6, 2023
1 parent 8aba653 commit ae86354
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/Zend/Controller/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ abstract class Zend_Controller_Action implements Zend_Controller_Action_Interfac
*/
public $view;

/**
* compataibility for php 8.2 to stop error Deprecated: Creation of dynamic property
* @var object
*/
public $contexts = null;

/**
* Helper Broker to assist in routing help requests to the proper object
*
Expand Down

0 comments on commit ae86354

Please sign in to comment.