Skip to content

Commit

Permalink
fix moodle code checker issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NinaHerrmann committed Jun 25, 2024
1 parent 933158b commit f0c0fd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion classes/local/backup/restore_lifecycle_workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function execute(bool $force = false) {
$this->check_subplugin_validity();
if (empty($this->errors) || $force) {
// If all loaded data is valid, the new workflow and the steps can be stored in the database.
// If we force the import, we empty the errors;
// If we force the import, we empty the errors.
$this->errors = [];
$this->persist();
}
Expand Down
2 changes: 2 additions & 0 deletions step/email/tests/privacy/provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Unit tests for the lifecyclestep_email implementation of the privacy API.
*
Expand All @@ -21,6 +22,7 @@
* @author Philipp Memmel
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace lifecyclestep_email\privacy;

use context_course;
Expand Down

0 comments on commit f0c0fd9

Please sign in to comment.