1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 19:51:39 +02:00

[ticket/17543] Fix more PHP 8.5 deprecation warnings

PHPBB-17543
This commit is contained in:
rxu
2025-09-16 23:36:35 +07:00
parent 9e764b2a98
commit b2aa276a2a
7 changed files with 19 additions and 10 deletions

View File

@@ -187,7 +187,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
public function is_set_callback($field_id, $lang_id, $field_value)
{
return isset($this->options[$field_value]);
return isset($field_value, $this->options[$field_value]);
}
public function get($field_id, $lang_id, $field_value)

View File

@@ -225,7 +225,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
public function is_set_callback($field_id, $lang_id, $field_value)
{
return isset($this->dropdown_options[$field_value]);
return isset($field_value, $this->dropdown_options[$field_value]);
}
public function get($field_id, $lang_id, $field_value)