PluginDescription: make sure that extensions constraints are actually strings

This commit is contained in:
Dylan K. Taylor 2020-10-13 17:20:49 +01:00
parent 0b33762be0
commit 3e2926441d

View File

@ -132,7 +132,7 @@ class PluginDescription{
$k = $v; $k = $v;
$v = "*"; $v = "*";
} }
$this->extensions[$k] = is_array($v) ? $v : [$v]; $this->extensions[$k] = array_map('strval', is_array($v) ? $v : [$v]);
} }
} }