Skip to content

Stop IDEs getting confused by multiple definitions of moodleform_mod#52

Open
davosmith wants to merge 1 commit intomoodleou:masterfrom
davosmith:master
Open

Stop IDEs getting confused by multiple definitions of moodleform_mod#52
davosmith wants to merge 1 commit intomoodleou:masterfrom
davosmith:master

Conversation

@davosmith
Copy link
Contributor

The current implementation is breaking autocompletion in PHPStorm on moodleform_mod forms throughout the codebase I am working with. This is due to there being multiple definitions of moodleform_mod.

This alternative implementation prevents that from happening.

@davosmith
Copy link
Contributor Author

I wondered if there was any chance of this change being integrated? It does make development of other activity modules more difficult when mod_oublog is present on a site.

@jason-platts
Copy link
Member

Davo, thanks for this - I hadn't totally forgotten to add this into our codebase, honest (I just hadn't got round to it after a year - so maybe that is the same thing as forgetting!). I will try and remember to merge for our next release...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants