From 9be958e2f0e065db4b3df017005122f30202d6c8 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 10 Mar 2015 14:13:20 +0000 Subject: [PATCH] MDL-39752 fix whitespace errors (And some others unrelated to above issue, because its spring and i'm cleaning). --- lib/behat/classes/behat_command.php | 6 +++--- plagiarism/lib.php | 3 +-- theme/switchdevice.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/behat/classes/behat_command.php b/lib/behat/classes/behat_command.php index 7ec8a744052..d82f2dbedfc 100644 --- a/lib/behat/classes/behat_command.php +++ b/lib/behat/classes/behat_command.php @@ -50,10 +50,10 @@ class behat_command { public static function get_behat_dir($runprocess = 0) { global $CFG; - // If not set then return empty string. - if (!isset($CFG->behat_dataroot)) { + // If not set then return empty string. + if (!isset($CFG->behat_dataroot)) { return ""; - } + } if (empty($runprocess)) { $behatdir = $CFG->behat_dataroot . '/behat'; diff --git a/plagiarism/lib.php b/plagiarism/lib.php index 8e6feca7be5..003961a34c3 100644 --- a/plagiarism/lib.php +++ b/plagiarism/lib.php @@ -42,10 +42,9 @@ class plagiarism_plugin { } /** - * hook to allow plagiarism specific information to be displayed beside a submission + * hook to allow plagiarism specific information to be displayed beside a submission * @param array $linkarraycontains all relevant information for the plugin to generate a link * @return string - * */ public function get_links($linkarray) { return ''; diff --git a/theme/switchdevice.php b/theme/switchdevice.php index 213f0f3f4b0..8daee0840cc 100644 --- a/theme/switchdevice.php +++ b/theme/switchdevice.php @@ -16,7 +16,7 @@ /** * This code processes switch device requests-> ... -> Theme selector UI. - * + * * This script doesn't require login as not logged in users should still * be able to switch the device theme they are using. *