Skip to content

Commit b26d143

Browse files
committed
update comments
1 parent 03b6ab0 commit b26d143

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

classes/local/table/interaction_remaining_table.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class interaction_remaining_table extends interaction_table {
4343

4444
/** @var manual_trigger_tool[] $availabletools list of all available trigger tools. */
4545
private $availabletools;
46-
/** @var array[] $trigger2courses map from trigger id to courses that are selected by automatic trigger(s)
47-
* which is (are) assiciated to manual trigger.
46+
/** @var array[] $trigger2courses map from manual trigger id to courses that are selected by
47+
* automatic trigger(s) which is (are) associated to manual trigger.
4848
*/
4949
private $trigger2courses = [];
5050

@@ -74,7 +74,7 @@ public function __construct($uniqueid, $courseids) {
7474
continue;
7575
}
7676
// Ok, we have an AND condition =>
77-
// Check if courses belonging to the other triggers fit.
77+
// Store courses selected by this (these) trigger(s).
7878
$triggers = [];
7979
foreach ($records as $record) {
8080
$triggers[] = $record;
@@ -164,7 +164,7 @@ public function col_tools($row) {
164164
}
165165
$actions = [];
166166
foreach ($this->availabletools as $tool) {
167-
// Check if the manual trigegr has at least one automatic trigger associated.
167+
// Check if the manual trigger has at least one automatic trigger associated.
168168
if (array_key_exists($tool->triggerid, $this->trigger2courses)) {
169169
// There is at least one automatic trigger =>
170170
// Check if 'this' course is included in course set.

0 commit comments

Comments
 (0)