Skip to content

Commit

Permalink
php 7.4 backward compatibility - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
semteacher committed Jun 13, 2024
1 parent b3f4c8b commit 14ab135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/option/field_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static function get_subfields() {
* @param stdClass|null $formdata
* @param field_base|null $myself
* @param mixed $mockdata // Only needed if there the object needs params for the save_data function.
* @param string $key
* @param string|null $key
* @param mixed $value
*
* @return array
Expand All @@ -201,7 +201,7 @@ public function check_for_changes(
?stdClass $formdata = null,
?field_base $myself = null,
mixed $mockdata = '',
string $key = '',
?string $key = null,
mixed $value = ''): array {
$excludeclassesfromtrackingchanges = [
'addtocalendar',
Expand Down

0 comments on commit 14ab135

Please sign in to comment.