Skip to content

Commit

Permalink
Fix reported phpcs issues from review
Browse files Browse the repository at this point in the history
  • Loading branch information
srobotta committed Feb 23, 2024
1 parent 2fd54bb commit 1d918e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion classes/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function write_items_to_file(array $data) {
* if the setting maxcatlevels is > 0. Also if an category id is in $keepselected, then the category is contained,
* even though it might be at a lower level than desired.
*
* @param int[] $keepselected
* @param int[]|null $keepselected
* @return array
* @throws \dml_exception
*/
Expand Down
2 changes: 1 addition & 1 deletion db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
'archetypes' => [
'editingteacher' => CAP_ALLOW,
],
]
],
];
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

defined('MOODLE_INTERNAL') || die;

use \tiny_htmlblock\config;
use \tiny_htmlblock\plugininfo;
use tiny_htmlblock\config;
use tiny_htmlblock\plugininfo;

$ADMIN->add('editortiny', new admin_category(plugininfo::COMPONENT, new lang_string('pluginname', plugininfo::COMPONENT)));

Expand Down
2 changes: 1 addition & 1 deletion templates/setting_config_htmlblock.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
Setting configtext.
}}

<input name="{{name}}" type="hidden" value="{{value}}" />
<input name="{{name}}" type="hidden" value="{{value}}">

<div class="{{name}}">
{{#items}}
Expand Down

0 comments on commit 1d918e3

Please sign in to comment.