Skip to content

Commit

Permalink
MOOSH485 - Fix Dynamic Properties - CourseInfo.php
Browse files Browse the repository at this point in the history
Three properties weren't declared:
- $enrolledtotal
- $logsnumber
- $data

So I declared them as private properties to remove the
deprecated messages.
  • Loading branch information
martygilbert authored and tmuras committed Jun 28, 2024
1 parent bf8a534 commit 2ffec17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Moosh/Command/Moodle39/Course/CourseInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ class CourseInfo extends MooshCommand
private $filesnumber;
private $filesize;

private $enrolledtotal;
private $logsnumber;
private $data;

public function __construct()
{
global $DB;
Expand Down

0 comments on commit 2ffec17

Please sign in to comment.