Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.5
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-62241-master-typehint -
Description
Attempting to run my workshop module unit tests for privacy API on Moodle 3.3, I got:
Argument 1 passed to core_privacy\manager::plugintype_class_callback() must be an instance of core_privacy\string, string given, called in /home/mudrd8mz/www/mdk/m33/moodle/plagiarism/classes/privacy/provider.php on line 96 and defined
|
|
/home/mudrd8mz/www/mdk/m33/moodle/privacy/classes/manager.php:358
|
/home/mudrd8mz/www/mdk/m33/moodle/plagiarism/classes/privacy/provider.php:96
|
/home/mudrd8mz/www/mdk/m33/moodle/plagiarism/classes/privacy/provider.php:85
|
...
|
There is a forgotten "string" type hinting that is misinterpreted as a classname in PHP 5.6.
Attachments
Issue Links
- has to be done before
-
MDL-61905 Implement core_privacy for mod_workshop
-
- Closed
-