Skip to content
Snippets Groups Projects
Commit e99d1451 authored by Christian Wach's avatar Christian Wach :soccer:
Browse files

Avoid PHP8 warnings

parent b5901c05
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ class CFAFA_Form_Action_Base { ...@@ -111,7 +111,7 @@ class CFAFA_Form_Action_Base {
* @param string $action The name of the Action. * @param string $action The name of the Action.
* @param array $data The result of the Action. * @param array $data The result of the Action.
*/ */
public function load_action_save( $action = '', $data ) { public function load_action_save( $action, $data ) {
// Get the existing array of Action results. // Get the existing array of Action results.
$actions = get_query_var( 'acfe_form_actions', [] ); $actions = get_query_var( 'acfe_form_actions', [] );
...@@ -188,7 +188,7 @@ class CFAFA_Form_Action_Base { ...@@ -188,7 +188,7 @@ class CFAFA_Form_Action_Base {
* @param string $action The name of the Action. * @param string $action The name of the Action.
* @param array $data The result of the Action. * @param array $data The result of the Action.
*/ */
public function make_action_save( $action = '', $data ) { public function make_action_save( $action, $data ) {
// Get the existing array of Action results. // Get the existing array of Action results.
$actions = get_query_var( 'acfe_form_actions', [] ); $actions = get_query_var( 'acfe_form_actions', [] );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment