More cleanup

This commit is contained in:
Stéphane Goetz
2017-11-07 22:54:31 +01:00
parent c0016c759a
commit 52ce3714cf
6 changed files with 14 additions and 7 deletions

View File

@ -14,7 +14,7 @@ class Config extends BaseConfig
];
}
function getEditOn()
public function getEditOn()
{
if (array_key_exists('edit_on', $this)) {
if (is_string($this['edit_on'])) {