MDL-75548 misc: final Required parameter follows optional notices

This commit is contained in:
Tim Hunt
2022-08-22 15:20:13 +01:00
parent 17ee072693
commit 797b9fbd62
18 changed files with 48 additions and 48 deletions
+2 -2
View File
@@ -482,13 +482,13 @@ class tree extends tree_node {
*
* @param bool $not True if there is a NOT in effect
* @param info $info Information about location of condition tree
* @param result $result Result object if this is a student display, else null
* @param result|null $result Result object if this is a student display, else null
* @param bool $root True if this is the root item
* @param bool $hidden Staff display; true if this tree has show=false (from parent)
* @return string|renderable Information to render
*/
protected function get_full_information_recursive(
$not, info $info, result $result = null, $root, $hidden = false) {
$not, info $info, ?result $result, $root, $hidden = false) {
// Get list of children - either full list, or those which are shown.
$children = $this->children;
$staff = true;