Skip to content

Commit

Permalink
Support ancient PHP version 5.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Muras committed Mar 22, 2019
1 parent d148a60 commit 461ff33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Moosh/Command/Generic/Language/LanguageCompare.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

namespace Moosh\Command\Generic\Language;
use function Composer\Autoload\includeFile;
use Moosh\MooshCommand;

class LanguageCompare extends MooshCommand
Expand Down
4 changes: 2 additions & 2 deletions Moosh/Command/Moodle31/Report/ReportConcurrency.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function execute() {
* Week day number 1-7 to name (Monday-Sunday).
* @param $number
*/
private function week_day_name($number) : string {
private function week_day_name($number) {
switch($number) {
case 1:
return 'Monday';
Expand Down Expand Up @@ -347,4 +347,4 @@ public function get_stats() {

return $stats;
}
}
}
2 changes: 1 addition & 1 deletion moosh.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@error_reporting(E_ALL | E_STRICT);
@ini_set('display_errors', '1');

define('MOOSH_VERSION', '0.28');
define('MOOSH_VERSION', '0.29');
define('MOODLE_INTERNAL', true);

$appspecs = new OptionCollection;
Expand Down

0 comments on commit 461ff33

Please sign in to comment.