Skip to content

Commit

Permalink
Merge branch 'MDL-70898-311' of git://github.com/marinaglancy/moodle …
Browse files Browse the repository at this point in the history
…into MOODLE_311_STABLE
  • Loading branch information
stronk7 committed Mar 1, 2021
2 parents 241cf14 + dbb31d1 commit 81761af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analytics/classes/default_bulk_actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static function not_useful() {
*
* @return array
*/
private static final function bulk_action_base_attrs() {
private static function bulk_action_base_attrs() {
return [
'disabled' => 'disabled',
'data-toggle' => 'action',
Expand Down
4 changes: 2 additions & 2 deletions backup/util/ui/classes/copy/copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function __construct(\stdClass $formdata) {
* @param \stdClass $formdata Data from the validated course copy form.
* @return array $keptroles The roles to keep.
*/
private final function get_enrollment_roles(\stdClass $formdata): array {
private function get_enrollment_roles(\stdClass $formdata): array {
$keptroles = array();

foreach ($formdata as $key => $value) {
Expand All @@ -114,7 +114,7 @@ private final function get_enrollment_roles(\stdClass $formdata): array {
* @return \stdClass $copydata Data required for course copy operations.
* @throws \moodle_exception If one of the required copy fields is missing
*/
private final function get_copy_data(\stdClass $formdata): \stdClass {
private function get_copy_data(\stdClass $formdata): \stdClass {
$copydata = new \stdClass();

foreach ($this->copyfields as $field) {
Expand Down

0 comments on commit 81761af

Please sign in to comment.