31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-06-13 10:22:21 +00:00

codestyle

This commit is contained in:
Denis Ryabov 2021-04-04 13:38:13 +03:00
parent bda87074f0
commit eb6ea3c7ec

View File

@ -430,7 +430,7 @@ class JedcheckerRulesJamss extends JEDcheckerRule
*/
private function jamssWarning($path, $title, $info, $code, $line)
{
$info = !empty($info)?sprintf($this->params->get('info'), htmlentities($info, ENT_QUOTES)):"";
$info = !empty($info) ? sprintf($this->params->get('info'), htmlentities($info, ENT_QUOTES)) : '';
$this->report->addWarning($path, $info . $title, $line, $code);
}