Issue #12 - fixed code standard problems preventing Travis to build.

This commit is contained in:
Daniel Thee Roperto committed 2016-09-02 15:38:19 +10:00
1 parent 6ceb328aa4
commit 18e0583ba5
7 files changed
+11 -41

No files matched your search

+3 -1
View File
@@ -32,7 +32,9 @@ if (!defined('MOODLE_INTERNAL')) {
class auth_outage_renderer extends plugin_renderer_base
{
public function rendersubtitle($subtitlekey) {
if (!is_string($subtitlekey)) throw new \InvalidArgumentException('$subtitle is not a string.');
if (!is_string($subtitlekey)) {
throw new \InvalidArgumentException('$subtitle is not a string.');
}
return html_writer::tag('h2', get_string($subtitlekey, 'auth_outage'));
}