mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-77350 webservice: Added class properties that are not declared
In PHP 8.2 and later, setting a value to an undeclared class property is deprecated and emits a deprecation notice. So we need to add missing class properties that still need to be declared.
This commit is contained in:
parent
063ffc8073
commit
4fbb4f552f
@ -168,7 +168,6 @@ foreach ($filterdata->services as $i => $serviceid) {
|
||||
$table->define_baseurl($baseurl);
|
||||
|
||||
$table->attributes['class'] = 'admintable generaltable';
|
||||
$table->data = [];
|
||||
$table->out(30, false);
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
@ -1255,6 +1255,9 @@ abstract class webservice_base_server extends webservice_server {
|
||||
/** @var array List of struct classes generated for the web service methods. */
|
||||
protected $servicestructs;
|
||||
|
||||
/** @var string service class name. */
|
||||
protected $serviceclass;
|
||||
|
||||
/**
|
||||
* This method parses the request input, it needs to get:
|
||||
* 1/ user authentication - username+password or token
|
||||
|
Loading…
x
Reference in New Issue
Block a user