@@ -138,7 +138,7 @@ public static function updateGroupWidgets(\Elgg\Event $event): void {
138138 }
139139
140140 foreach ($ widgets as $ order => $ widget ) {
141- // check if a widget which sould be enabled isn't already enabled
141+ // check if a widget which should be enabled isn't already enabled
142142 $ enable_index = array_search ($ widget ->handler , $ enable_widget_handlers );
143143 if ($ enable_index !== false ) {
144144 // already enabled, do add duplicate
@@ -174,7 +174,7 @@ public static function updateGroupWidgets(\Elgg\Event $event): void {
174174 continue ;
175175 }
176176
177- // widget was removed manualy , don't add it automagicly
177+ // widget was removed manually , don't add it automagically
178178 unset($ enable_widget_handlers [$ enable_index ]);
179179 }
180180 }
@@ -275,7 +275,7 @@ public static function registerGroupWidgetsTool(\Elgg\Event $event): ?Collection
275275 }
276276
277277 /**
278- * Prepare for group widget blacklist update when adding a widget manualy
278+ * Prepare for group widget blacklist update when adding a widget manually
279279 *
280280 * @param \Elgg\Event $event 'create', 'object'
281281 *
@@ -315,7 +315,7 @@ public static function addGroupWidget(\Elgg\Event $event): void {
315315 }
316316
317317 /**
318- * Update the group widget blacklist when adding a widget manualy
318+ * Update the group widget blacklist when adding a widget manually
319319 *
320320 * @param \Elgg\Event $event 'shutdown', 'system'
321321 *
@@ -373,7 +373,7 @@ public static function addGroupWidgetShutdown(\Elgg\Event $event): void {
373373 }
374374
375375 /**
376- * Update the group widget blacklist when removing a widget manualy
376+ * Update the group widget blacklist when removing a widget manually
377377 *
378378 * @param \Elgg\Event $event 'delete', 'object'
379379 *
0 commit comments