Skip to content

Commit

Permalink
GH-723 Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidszkiba committed Jan 24, 2025
1 parent d87eee4 commit 57fb474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions classes/catmodel_info.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@
use local_catquiz\data\dataapi;
use local_catquiz\event\calculation_executed;
use local_catquiz\event\calculation_skipped;
use local_catquiz\local\model\model_strategy;
use local_catquiz\task\adhoc_recalculate_cat_model_params;
use local_catquiz\local\model\model_item_param_list;
use local_catquiz\local\model\model_person_param_list;
use local_catquiz\local\model\model_strategy;
use local_catquiz\local\model\model_strategy_factory;
use local_catquiz\task\adhoc_recalculate_cat_model_params;
use moodle_exception;

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/external/node/fetch_parameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ private static function check_float_equal(float $num1, float $num2, int $precisi
*
* @return array
*/
private function get_intermediate_context_ids(int $startcontextid, int $endcontextid) {
private static function get_intermediate_context_ids(int $startcontextid, int $endcontextid) {
if (is_null(self::$intermediatecontexts)) {
self::$intermediatecontexts = array_reverse(
range(
Expand Down

0 comments on commit 57fb474

Please sign in to comment.