We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f73e52 commit 9a57061Copy full SHA for 9a57061
1 file changed
classes/ColdTrick/WidgetManager/Groups.php
@@ -2,6 +2,7 @@
2
3
namespace ColdTrick\WidgetManager;
4
5
+use Elgg\Collections\Collection;
6
use Elgg\Groups\Tool;
7
8
/**
@@ -252,9 +253,9 @@ public static function getGroupWidgetsLayout(\Elgg\Event $event): ?array {
252
253
*
254
* @param \Elgg\Event $event 'tool_options', 'group'
255
- * @return null|array
256
+ * @return null|Collection
257
*/
- public static function registerGroupWidgetsTool(\Elgg\Event $event): ?array {
258
+ public static function registerGroupWidgetsTool(\Elgg\Event $event): ?Collection {
259
$plugin = elgg_get_plugin_from_id('widget_manager');
260
if ($plugin->getSetting('group_enable') !== 'yes') {
261
return null;
0 commit comments